sidepanel.css 36 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766
  1. /* ============================================================
  2. MultiPage Automation — Side Panel
  3. Design: Swiss Modernism + Developer Tool
  4. Font: Inter (UI) + JetBrains Mono (code)
  5. Themes: Light (default) + Dark (toggle)
  6. ============================================================ */
  7. /* ---- Light Theme (default) ---- */
  8. :root {
  9. --bg-base: #ffffff;
  10. --bg-surface: #f7f8fa;
  11. --bg-elevated: #eef0f4;
  12. --bg-hover: #e4e7ec;
  13. --bg-active: #dce0e8;
  14. --border: #d8dce3;
  15. --border-subtle: #e8ecf1;
  16. --text-primary: #1a1d24;
  17. --text-secondary: #5c6370;
  18. --text-muted: #9ca3af;
  19. --blue: #2563eb;
  20. --blue-soft: rgba(37, 99, 235, 0.08);
  21. --blue-glow: rgba(37, 99, 235, 0.12);
  22. --green: #16a34a;
  23. --green-soft: rgba(22, 163, 74, 0.08);
  24. --orange: #ea580c;
  25. --orange-soft: rgba(234, 88, 12, 0.08);
  26. --red: #dc2626;
  27. --red-soft: rgba(220, 38, 38, 0.08);
  28. --cyan: #0891b2;
  29. --purple: #7c3aed;
  30. --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  31. --shadow-md: 0 2px 6px rgba(0,0,0,0.06);
  32. --radius-sm: 6px;
  33. --radius-md: 8px;
  34. --transition: 150ms ease;
  35. }
  36. /* ---- Dark Theme ---- */
  37. [data-theme="dark"] {
  38. --bg-base: #0f1117;
  39. --bg-surface: #181a21;
  40. --bg-elevated: #21242d;
  41. --bg-hover: #2a2e38;
  42. --bg-active: #323844;
  43. --border: #2a2e38;
  44. --border-subtle: #21242d;
  45. --text-primary: #e4e6eb;
  46. --text-secondary: #8b919e;
  47. --text-muted: #565c6a;
  48. --blue: #3b82f6;
  49. --blue-soft: rgba(59, 130, 246, 0.12);
  50. --blue-glow: rgba(59, 130, 246, 0.18);
  51. --green: #22c55e;
  52. --green-soft: rgba(34, 197, 94, 0.12);
  53. --orange: #f97316;
  54. --orange-soft: rgba(249, 115, 22, 0.12);
  55. --red: #ef4444;
  56. --red-soft: rgba(239, 68, 68, 0.12);
  57. --cyan: #06b6d4;
  58. --purple: #a78bfa;
  59. --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
  60. --shadow-md: 0 2px 8px rgba(0,0,0,0.3);
  61. }
  62. * { margin: 0; padding: 0; box-sizing: border-box; }
  63. [hidden] {
  64. display: none !important;
  65. }
  66. body {
  67. font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  68. font-size: 14px;
  69. color: var(--text-primary);
  70. background: var(--bg-base);
  71. padding: 12px;
  72. width: 100%;
  73. min-height: 100vh;
  74. -webkit-font-smoothing: antialiased;
  75. transition: background var(--transition), color var(--transition);
  76. }
  77. /* ============================================================
  78. Header
  79. ============================================================ */
  80. header {
  81. display: flex;
  82. justify-content: space-between;
  83. align-items: center;
  84. margin-bottom: 14px;
  85. padding-bottom: 12px;
  86. border-bottom: 1px solid var(--border-subtle);
  87. }
  88. .header-left {
  89. display: flex;
  90. align-items: center;
  91. gap: 8px;
  92. min-width: 0;
  93. flex: 1;
  94. }
  95. .header-left svg { color: var(--blue); }
  96. .header-version-block {
  97. min-width: 0;
  98. display: flex;
  99. flex-direction: column;
  100. gap: 2px;
  101. }
  102. .header-version-main {
  103. min-width: 0;
  104. display: flex;
  105. align-items: baseline;
  106. gap: 8px;
  107. }
  108. .header-version-title {
  109. font-size: 15px;
  110. font-weight: 700;
  111. letter-spacing: -0.02em;
  112. color: var(--text-primary);
  113. min-width: 0;
  114. flex: 0 1 auto;
  115. white-space: nowrap;
  116. overflow: hidden;
  117. text-overflow: ellipsis;
  118. }
  119. .header-version-title.is-version-label { color: var(--blue); }
  120. .header-version-title.is-update-available { color: var(--orange); }
  121. .header-version-title.is-check-failed { color: var(--text-primary); }
  122. .header-version-meta {
  123. min-width: 0;
  124. font-size: 12px;
  125. color: var(--text-secondary);
  126. white-space: nowrap;
  127. overflow: hidden;
  128. text-overflow: ellipsis;
  129. }
  130. .header-version-meta[hidden] {
  131. display: none !important;
  132. }
  133. .header-link-btn {
  134. padding: 0;
  135. border: none;
  136. background: transparent;
  137. color: var(--blue);
  138. font: inherit;
  139. font-size: 12px;
  140. font-weight: 600;
  141. cursor: pointer;
  142. flex-shrink: 0;
  143. }
  144. .header-link-btn:hover {
  145. color: var(--text-primary);
  146. text-decoration: underline;
  147. }
  148. .header-btns {
  149. display: flex;
  150. align-items: center;
  151. gap: 4px;
  152. flex-shrink: 0;
  153. }
  154. /* ============================================================
  155. Theme Toggle
  156. ============================================================ */
  157. .theme-toggle {
  158. width: 30px;
  159. height: 30px;
  160. border: none;
  161. background: transparent;
  162. color: var(--text-muted);
  163. border-radius: var(--radius-sm);
  164. cursor: pointer;
  165. display: flex;
  166. align-items: center;
  167. justify-content: center;
  168. transition: all var(--transition);
  169. }
  170. .theme-toggle:hover { background: var(--bg-hover); color: var(--text-primary); }
  171. .theme-toggle .icon-moon { display: block; }
  172. .theme-toggle .icon-sun { display: none; }
  173. [data-theme="dark"] .theme-toggle .icon-moon { display: none; }
  174. [data-theme="dark"] .theme-toggle .icon-sun { display: block; }
  175. .header-menu {
  176. position: relative;
  177. display: flex;
  178. align-items: center;
  179. }
  180. .header-config-btn {
  181. min-width: 0;
  182. padding-inline: 10px;
  183. }
  184. .header-config-btn[aria-expanded="true"] {
  185. background: var(--bg-hover);
  186. color: var(--text-primary);
  187. }
  188. .header-dropdown {
  189. position: absolute;
  190. top: calc(100% + 6px);
  191. right: 0;
  192. min-width: 120px;
  193. padding: 6px;
  194. display: flex;
  195. flex-direction: column;
  196. gap: 4px;
  197. background: var(--bg-base);
  198. border: 1px solid var(--border);
  199. border-radius: var(--radius-sm);
  200. box-shadow: var(--shadow-md);
  201. z-index: 1300;
  202. }
  203. .header-dropdown[hidden] {
  204. display: none !important;
  205. }
  206. .header-dropdown-item {
  207. width: 100%;
  208. padding: 8px 10px;
  209. border: none;
  210. border-radius: var(--radius-sm);
  211. background: transparent;
  212. color: var(--text-secondary);
  213. font: inherit;
  214. font-size: 12px;
  215. font-weight: 600;
  216. text-align: left;
  217. cursor: pointer;
  218. transition: background var(--transition), color var(--transition);
  219. }
  220. .header-dropdown-item:hover:not(:disabled) {
  221. background: var(--bg-hover);
  222. color: var(--text-primary);
  223. }
  224. .header-dropdown-item:disabled {
  225. color: var(--text-muted);
  226. cursor: not-allowed;
  227. }
  228. /* ============================================================
  229. Buttons
  230. ============================================================ */
  231. .btn {
  232. display: inline-flex;
  233. align-items: center;
  234. gap: 6px;
  235. padding: 7px 14px;
  236. font-family: inherit;
  237. font-size: 13px;
  238. font-weight: 600;
  239. border: 1px solid transparent;
  240. border-radius: var(--radius-sm);
  241. cursor: pointer;
  242. transition: all var(--transition);
  243. white-space: nowrap;
  244. }
  245. .btn-primary {
  246. background: var(--blue);
  247. color: #fff;
  248. }
  249. .btn-primary:hover { opacity: 0.9; box-shadow: 0 2px 8px var(--blue-glow); }
  250. .btn-success {
  251. background: var(--green);
  252. color: #fff;
  253. }
  254. .btn-success:hover { opacity: 0.9; box-shadow: 0 2px 8px var(--green-soft); }
  255. .btn-danger {
  256. background: var(--red);
  257. color: #fff;
  258. }
  259. .btn-danger:hover { opacity: 0.9; box-shadow: 0 2px 8px var(--red-soft); }
  260. .run-group {
  261. display: flex;
  262. align-items: center;
  263. gap: 4px;
  264. }
  265. .run-count-input {
  266. width: 42px;
  267. padding: 6px 4px;
  268. text-align: center;
  269. background: var(--bg-base);
  270. border: 1px solid var(--border);
  271. border-radius: var(--radius-sm);
  272. color: var(--text-primary);
  273. font-family: 'JetBrains Mono', monospace;
  274. font-size: 13px;
  275. font-weight: 600;
  276. outline: none;
  277. }
  278. .run-count-input:focus { border-color: var(--blue); }
  279. .run-count-input::-webkit-inner-spin-button { opacity: 0.5; }
  280. .btn-success:disabled, .btn-primary:disabled, .btn-danger:disabled { background: var(--bg-elevated); color: var(--text-muted); cursor: not-allowed; box-shadow: none; }
  281. .run-count-input:disabled { opacity: 0.5; cursor: not-allowed; }
  282. .btn-ghost {
  283. background: transparent;
  284. color: var(--text-secondary);
  285. padding: 6px;
  286. border-radius: var(--radius-sm);
  287. }
  288. .btn-ghost:hover { background: var(--bg-hover); color: var(--text-primary); }
  289. .btn-outline {
  290. background: transparent;
  291. border: 1px solid var(--border);
  292. color: var(--text-secondary);
  293. }
  294. .btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
  295. .btn-sm { padding: 5px 12px; font-size: 12px; }
  296. .btn-xs { padding: 4px 10px; font-size: 11px; }
  297. /* ============================================================
  298. Extension Updates
  299. ============================================================ */
  300. #update-section { margin-bottom: 14px; }
  301. .update-card {
  302. background: var(--bg-surface);
  303. border: 1px solid var(--border);
  304. border-radius: var(--radius-md);
  305. padding: 12px 14px;
  306. display: flex;
  307. flex-direction: column;
  308. gap: 12px;
  309. box-shadow: var(--shadow-sm);
  310. }
  311. .update-card-header {
  312. display: flex;
  313. flex-wrap: wrap;
  314. align-items: flex-start;
  315. justify-content: space-between;
  316. gap: 12px;
  317. }
  318. .update-card-copy {
  319. min-width: 0;
  320. display: flex;
  321. flex-direction: column;
  322. gap: 4px;
  323. }
  324. .update-card-version {
  325. font-size: 14px;
  326. font-weight: 700;
  327. color: var(--orange);
  328. }
  329. .update-card-summary {
  330. font-size: 12px;
  331. color: var(--text-secondary);
  332. line-height: 1.6;
  333. }
  334. .update-release-list {
  335. display: flex;
  336. flex-direction: column;
  337. gap: 10px;
  338. }
  339. .update-release-item {
  340. padding-top: 10px;
  341. border-top: 1px solid var(--border-subtle);
  342. }
  343. .update-release-item:first-child {
  344. padding-top: 0;
  345. border-top: none;
  346. }
  347. .update-release-head {
  348. display: flex;
  349. justify-content: space-between;
  350. align-items: baseline;
  351. gap: 8px;
  352. margin-bottom: 6px;
  353. }
  354. .update-release-title-row {
  355. display: flex;
  356. align-items: baseline;
  357. gap: 8px;
  358. min-width: 0;
  359. }
  360. .update-release-version {
  361. font-size: 13px;
  362. font-weight: 700;
  363. color: var(--text-primary);
  364. }
  365. .update-release-name {
  366. min-width: 0;
  367. font-size: 12px;
  368. color: var(--text-secondary);
  369. white-space: nowrap;
  370. overflow: hidden;
  371. text-overflow: ellipsis;
  372. }
  373. .update-release-date {
  374. flex-shrink: 0;
  375. font-family: 'JetBrains Mono', 'Consolas', monospace;
  376. font-size: 11px;
  377. color: var(--text-muted);
  378. }
  379. .update-release-notes {
  380. margin: 0;
  381. padding-left: 18px;
  382. color: var(--text-secondary);
  383. font-size: 12px;
  384. line-height: 1.55;
  385. }
  386. .update-release-notes li + li { margin-top: 4px; }
  387. .update-release-empty {
  388. font-size: 12px;
  389. color: var(--text-muted);
  390. }
  391. /* ============================================================
  392. Data Card
  393. ============================================================ */
  394. #data-section { margin-bottom: 14px; }
  395. .data-card {
  396. background: var(--bg-surface);
  397. border: 1px solid var(--border);
  398. border-radius: var(--radius-md);
  399. padding: 12px 14px;
  400. display: flex;
  401. flex-direction: column;
  402. gap: 9px;
  403. box-shadow: var(--shadow-sm);
  404. }
  405. .data-card.is-locked {
  406. position: relative;
  407. overflow: hidden;
  408. }
  409. .data-card.is-locked::after {
  410. content: '';
  411. position: absolute;
  412. inset: 0;
  413. border-radius: inherit;
  414. background: color-mix(in srgb, var(--bg-base) 18%, transparent);
  415. pointer-events: none;
  416. }
  417. .section-mini-header {
  418. display: flex;
  419. align-items: center;
  420. justify-content: space-between;
  421. gap: 8px;
  422. }
  423. .section-mini-copy {
  424. min-width: 0;
  425. display: flex;
  426. flex-direction: column;
  427. gap: 2px;
  428. }
  429. .section-mini-copy .section-label {
  430. font-size: 14px;
  431. letter-spacing: 0.04em;
  432. }
  433. .section-mini-actions {
  434. display: flex;
  435. align-items: center;
  436. gap: 6px;
  437. flex-wrap: wrap;
  438. justify-content: flex-end;
  439. }
  440. .data-row {
  441. display: flex;
  442. align-items: center;
  443. gap: 8px;
  444. }
  445. .data-check-row {
  446. align-items: flex-start;
  447. }
  448. .data-inline {
  449. display: flex;
  450. align-items: center;
  451. gap: 8px;
  452. flex: 1;
  453. min-width: 0;
  454. }
  455. .data-value-actions {
  456. justify-content: space-between;
  457. }
  458. .input-with-icon {
  459. position: relative;
  460. flex: 1;
  461. min-width: 0;
  462. display: flex;
  463. align-items: center;
  464. }
  465. .data-label {
  466. width: 56px;
  467. font-size: 11px;
  468. font-weight: 700;
  469. color: var(--text-muted);
  470. text-transform: uppercase;
  471. letter-spacing: 0.06em;
  472. flex-shrink: 0;
  473. }
  474. .data-value {
  475. font-size: 13px;
  476. color: var(--text-muted);
  477. min-width: 0;
  478. }
  479. .data-value-fill {
  480. flex: 1;
  481. }
  482. .data-value.has-value { color: var(--text-primary); }
  483. .mono {
  484. font-family: 'JetBrains Mono', 'Consolas', monospace;
  485. font-size: 12px;
  486. }
  487. .truncate {
  488. overflow: hidden;
  489. text-overflow: ellipsis;
  490. white-space: nowrap;
  491. }
  492. .data-input {
  493. flex: 1;
  494. padding: 7px 10px;
  495. background: var(--bg-base);
  496. border: 1px solid var(--border);
  497. border-radius: var(--radius-sm);
  498. color: var(--text-primary);
  499. font-family: 'JetBrains Mono', monospace;
  500. font-size: 13px;
  501. outline: none;
  502. transition: border-color var(--transition), box-shadow var(--transition);
  503. min-width: 0;
  504. }
  505. .data-input::placeholder { color: var(--text-muted); }
  506. .data-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
  507. .data-textarea {
  508. width: 100%;
  509. min-height: 88px;
  510. resize: vertical;
  511. padding: 8px 10px;
  512. background: var(--bg-base);
  513. border: 1px solid var(--border);
  514. border-radius: var(--radius-sm);
  515. color: var(--text-primary);
  516. font-family: 'JetBrains Mono', monospace;
  517. font-size: 12px;
  518. outline: none;
  519. transition: border-color var(--transition), box-shadow var(--transition);
  520. }
  521. .data-textarea::placeholder { color: var(--text-muted); }
  522. .data-textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
  523. .data-input-with-icon {
  524. padding-right: 38px;
  525. }
  526. .input-icon-btn {
  527. position: absolute;
  528. right: 8px;
  529. width: 24px;
  530. height: 24px;
  531. padding: 0;
  532. display: inline-flex;
  533. align-items: center;
  534. justify-content: center;
  535. border: none;
  536. background: transparent;
  537. color: var(--text-muted);
  538. cursor: pointer;
  539. border-radius: 999px;
  540. transition: color var(--transition), background var(--transition);
  541. }
  542. .input-icon-btn:hover {
  543. color: var(--text-primary);
  544. background: var(--bg-hover);
  545. }
  546. .choice-group {
  547. flex: 1;
  548. min-width: 0;
  549. display: inline-flex;
  550. align-items: center;
  551. gap: 6px;
  552. }
  553. .choice-btn {
  554. flex: 1;
  555. min-width: 0;
  556. padding: 7px 10px;
  557. border: 1px solid var(--border);
  558. border-radius: var(--radius-sm);
  559. background: var(--bg-base);
  560. color: var(--text-secondary);
  561. font-size: 12px;
  562. font-weight: 600;
  563. cursor: pointer;
  564. transition: border-color var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  565. }
  566. .choice-btn:hover {
  567. border-color: var(--blue);
  568. color: var(--blue);
  569. background: var(--blue-soft);
  570. }
  571. .choice-btn.is-active {
  572. border-color: var(--blue);
  573. color: var(--blue);
  574. background: var(--blue-soft);
  575. box-shadow: 0 0 0 1px var(--blue-glow);
  576. }
  577. .choice-btn:disabled {
  578. border-color: var(--border);
  579. background: var(--bg-elevated);
  580. color: var(--text-muted);
  581. cursor: not-allowed;
  582. box-shadow: none;
  583. }
  584. .choice-btn:disabled:hover {
  585. border-color: var(--border);
  586. background: var(--bg-elevated);
  587. color: var(--text-muted);
  588. }
  589. #btn-fetch-email,
  590. #btn-save-settings {
  591. padding-inline: 10px;
  592. flex-shrink: 0;
  593. }
  594. .data-inline-btn {
  595. flex-shrink: 0;
  596. min-width: 56px;
  597. justify-content: center;
  598. }
  599. .hotmail-card {
  600. margin-top: 10px;
  601. }
  602. .hotmail-actions-row .data-label {
  603. visibility: hidden;
  604. }
  605. .hotmail-import-row {
  606. align-items: flex-start;
  607. }
  608. .hotmail-import-box {
  609. flex: 1;
  610. display: flex;
  611. flex-direction: column;
  612. gap: 8px;
  613. }
  614. .hotmail-list-shell {
  615. border: 1px solid var(--border-subtle);
  616. border-radius: var(--radius-sm);
  617. background: color-mix(in srgb, var(--bg-base) 82%, transparent);
  618. overflow-y: auto;
  619. overflow-x: hidden;
  620. padding: 2px;
  621. transition: max-height var(--transition), border-color var(--transition), box-shadow var(--transition);
  622. }
  623. .hotmail-list-shell.is-collapsed {
  624. max-height: 236px;
  625. }
  626. .hotmail-list-shell.is-expanded {
  627. max-height: 440px;
  628. }
  629. .hotmail-list-shell::-webkit-scrollbar {
  630. width: 8px;
  631. }
  632. .hotmail-list-shell::-webkit-scrollbar-track {
  633. background: transparent;
  634. }
  635. .hotmail-list-shell::-webkit-scrollbar-thumb {
  636. background: var(--border);
  637. border-radius: 999px;
  638. }
  639. .hotmail-list-shell::-webkit-scrollbar-thumb:hover {
  640. background: var(--text-muted);
  641. }
  642. .hotmail-accounts-list {
  643. display: flex;
  644. flex-direction: column;
  645. gap: 8px;
  646. padding-right: 4px;
  647. }
  648. .hotmail-account-item {
  649. border: 1px solid var(--border);
  650. background: var(--bg-base);
  651. border-radius: var(--radius-sm);
  652. padding: 10px;
  653. display: flex;
  654. flex-direction: column;
  655. gap: 8px;
  656. }
  657. .hotmail-account-item.is-current {
  658. border-color: var(--blue);
  659. box-shadow: 0 0 0 1px var(--blue-glow);
  660. }
  661. .hotmail-account-top {
  662. display: flex;
  663. align-items: center;
  664. justify-content: space-between;
  665. gap: 8px;
  666. }
  667. .hotmail-account-title-row {
  668. min-width: 0;
  669. display: flex;
  670. align-items: center;
  671. gap: 6px;
  672. }
  673. .hotmail-account-email {
  674. font-weight: 600;
  675. color: var(--text-primary);
  676. word-break: break-all;
  677. }
  678. .hotmail-copy-btn {
  679. width: 24px;
  680. height: 24px;
  681. flex: 0 0 auto;
  682. display: inline-flex;
  683. align-items: center;
  684. justify-content: center;
  685. border: none;
  686. border-radius: 999px;
  687. background: transparent;
  688. color: var(--text-muted);
  689. cursor: pointer;
  690. transition: background var(--transition), color var(--transition), transform var(--transition);
  691. }
  692. .hotmail-copy-btn:hover {
  693. background: var(--bg-hover);
  694. color: var(--text-primary);
  695. }
  696. .hotmail-copy-btn:active {
  697. transform: scale(0.96);
  698. }
  699. .hotmail-status-chip {
  700. padding: 2px 8px;
  701. border-radius: 999px;
  702. font-size: 11px;
  703. font-weight: 700;
  704. text-transform: uppercase;
  705. letter-spacing: 0.02em;
  706. }
  707. .hotmail-status-chip.status-authorized {
  708. background: var(--green-soft);
  709. color: var(--green);
  710. }
  711. .hotmail-status-chip.status-used {
  712. background: var(--orange-soft);
  713. color: var(--orange);
  714. }
  715. .hotmail-status-chip.status-disabled {
  716. background: var(--bg-surface);
  717. color: var(--text-secondary);
  718. }
  719. .hotmail-status-chip.status-pending {
  720. background: var(--orange-soft);
  721. color: var(--orange);
  722. }
  723. .hotmail-status-chip.status-error {
  724. background: var(--red-soft);
  725. color: var(--red);
  726. }
  727. .hotmail-account-meta {
  728. display: grid;
  729. grid-template-columns: repeat(2, minmax(0, 1fr));
  730. gap: 6px 10px;
  731. color: var(--text-secondary);
  732. font-size: 12px;
  733. }
  734. .hotmail-account-error {
  735. font-size: 12px;
  736. color: var(--red);
  737. word-break: break-word;
  738. }
  739. .hotmail-account-actions {
  740. display: flex;
  741. flex-wrap: wrap;
  742. gap: 6px;
  743. }
  744. .hotmail-empty {
  745. color: var(--text-muted);
  746. font-size: 12px;
  747. border: 1px dashed var(--border);
  748. border-radius: var(--radius-sm);
  749. padding: 10px;
  750. text-align: center;
  751. }
  752. .icloud-card {
  753. border: 1px solid var(--border-subtle);
  754. border-radius: var(--radius-sm);
  755. background: color-mix(in srgb, var(--bg-base) 84%, transparent);
  756. padding: 10px;
  757. display: flex;
  758. flex-direction: column;
  759. gap: 10px;
  760. }
  761. .icloud-summary {
  762. color: var(--text-secondary);
  763. font-size: 12px;
  764. line-height: 1.6;
  765. }
  766. .icloud-login-help {
  767. display: flex;
  768. align-items: center;
  769. justify-content: space-between;
  770. gap: 10px;
  771. border: 1px solid color-mix(in srgb, var(--orange) 26%, var(--border));
  772. background: color-mix(in srgb, var(--orange-soft) 62%, var(--bg-base));
  773. border-radius: var(--radius-sm);
  774. padding: 10px;
  775. }
  776. .icloud-login-help-main {
  777. min-width: 0;
  778. display: flex;
  779. flex-direction: column;
  780. gap: 4px;
  781. }
  782. .icloud-login-help-title {
  783. color: var(--text-primary);
  784. font-weight: 700;
  785. font-size: 13px;
  786. }
  787. .icloud-login-help-text {
  788. color: var(--text-secondary);
  789. font-size: 12px;
  790. line-height: 1.5;
  791. }
  792. .icloud-toolbar {
  793. display: flex;
  794. gap: 8px;
  795. align-items: center;
  796. }
  797. .icloud-search {
  798. flex: 1;
  799. }
  800. .icloud-filter {
  801. flex: 0 0 130px;
  802. }
  803. .icloud-bulkbar {
  804. display: flex;
  805. gap: 8px;
  806. align-items: center;
  807. justify-content: space-between;
  808. flex-wrap: wrap;
  809. }
  810. .icloud-select-all {
  811. flex: 0 0 auto;
  812. }
  813. .icloud-bulk-actions {
  814. display: flex;
  815. gap: 6px;
  816. flex-wrap: wrap;
  817. }
  818. .icloud-list {
  819. display: flex;
  820. flex-direction: column;
  821. gap: 8px;
  822. max-height: 360px;
  823. overflow: auto;
  824. padding-right: 4px;
  825. }
  826. .icloud-item {
  827. border: 1px solid var(--border);
  828. background: var(--bg-base);
  829. border-radius: var(--radius-sm);
  830. padding: 10px;
  831. display: grid;
  832. grid-template-columns: auto minmax(0, 1fr) auto;
  833. gap: 10px;
  834. align-items: flex-start;
  835. }
  836. .icloud-item-check {
  837. margin-top: 4px;
  838. }
  839. .icloud-item-main {
  840. min-width: 0;
  841. display: flex;
  842. flex-direction: column;
  843. gap: 6px;
  844. }
  845. .icloud-item-actions {
  846. display: flex;
  847. gap: 6px;
  848. flex-wrap: wrap;
  849. justify-content: flex-end;
  850. }
  851. .icloud-item-email {
  852. font-weight: 600;
  853. color: var(--text-primary);
  854. word-break: break-all;
  855. }
  856. .icloud-item-meta {
  857. display: flex;
  858. flex-wrap: wrap;
  859. gap: 6px;
  860. }
  861. .icloud-tag {
  862. display: inline-flex;
  863. align-items: center;
  864. padding: 2px 8px;
  865. border-radius: 999px;
  866. font-size: 11px;
  867. background: var(--bg-surface);
  868. color: var(--text-secondary);
  869. }
  870. .icloud-tag.used {
  871. background: var(--orange-soft);
  872. color: var(--orange);
  873. }
  874. .icloud-tag.active {
  875. background: var(--green-soft);
  876. color: var(--green);
  877. }
  878. .icloud-empty {
  879. color: var(--text-muted);
  880. font-size: 12px;
  881. border: 1px dashed var(--border);
  882. border-radius: var(--radius-sm);
  883. padding: 12px;
  884. text-align: center;
  885. }
  886. .data-select {
  887. flex: 1;
  888. padding: 7px 10px;
  889. background: var(--bg-base);
  890. border: 1px solid var(--border);
  891. border-radius: var(--radius-sm);
  892. color: var(--text-primary);
  893. font-family: inherit;
  894. font-size: 13px;
  895. outline: none;
  896. cursor: pointer;
  897. transition: border-color var(--transition);
  898. min-width: 0;
  899. }
  900. .data-select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
  901. [data-theme="dark"] .data-select { color-scheme: dark; }
  902. .data-check {
  903. display: flex;
  904. align-items: flex-start;
  905. gap: 8px;
  906. flex: 1;
  907. min-width: 0;
  908. font-size: 12px;
  909. line-height: 1.5;
  910. color: var(--text-secondary);
  911. cursor: pointer;
  912. }
  913. .data-check input[type="checkbox"] {
  914. margin-top: 2px;
  915. accent-color: var(--blue);
  916. cursor: pointer;
  917. flex-shrink: 0;
  918. }
  919. .fallback-inline {
  920. justify-content: space-between;
  921. align-items: center;
  922. }
  923. .fallback-thread-interval {
  924. margin-left: auto;
  925. }
  926. .timing-field {
  927. display: flex;
  928. align-items: center;
  929. gap: 12px;
  930. min-width: 0;
  931. }
  932. .timing-field-labeled {
  933. min-width: 196px;
  934. justify-content: flex-end;
  935. }
  936. .timing-field-right {
  937. margin-left: auto;
  938. }
  939. .toggle-switch {
  940. position: relative;
  941. display: inline-flex;
  942. align-items: center;
  943. flex: 0 0 auto;
  944. cursor: pointer;
  945. }
  946. .toggle-switch > span:not(.toggle-switch-track) {
  947. display: none;
  948. }
  949. .toggle-switch input {
  950. position: absolute;
  951. opacity: 0;
  952. inset: 0;
  953. width: 100%;
  954. height: 100%;
  955. margin: 0;
  956. cursor: pointer;
  957. }
  958. .toggle-switch-track {
  959. width: 38px;
  960. height: 22px;
  961. border-radius: 999px;
  962. border: 1px solid var(--border);
  963. background: var(--bg-elevated);
  964. display: inline-flex;
  965. align-items: center;
  966. padding: 2px;
  967. transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
  968. }
  969. .toggle-switch-thumb {
  970. width: 16px;
  971. height: 16px;
  972. border-radius: 50%;
  973. background: var(--bg-base);
  974. box-shadow: var(--shadow-sm);
  975. transition: transform var(--transition), background var(--transition);
  976. }
  977. .toggle-switch input:checked + .toggle-switch-track {
  978. background: var(--blue-soft);
  979. border-color: var(--blue);
  980. }
  981. .toggle-switch input:checked + .toggle-switch-track .toggle-switch-thumb {
  982. transform: translateX(16px);
  983. background: var(--blue);
  984. }
  985. .toggle-switch input:disabled + .toggle-switch-track {
  986. opacity: 0.55;
  987. }
  988. .auto-delay-inline {
  989. justify-content: space-between;
  990. align-items: center;
  991. gap: 12px;
  992. flex-wrap: nowrap;
  993. }
  994. .auto-delay-side {
  995. display: flex;
  996. align-items: center;
  997. gap: 12px;
  998. flex: 0 0 auto;
  999. min-width: 0;
  1000. }
  1001. .auto-delay-side-right {
  1002. flex: 0 0 auto;
  1003. }
  1004. .auto-delay-check {
  1005. flex: 0 0 auto;
  1006. align-items: center;
  1007. }
  1008. .auto-delay-check span {
  1009. white-space: nowrap;
  1010. }
  1011. .auto-delay-caption {
  1012. font-size: 12px;
  1013. font-weight: 600;
  1014. color: var(--text-muted);
  1015. flex: 0 0 auto;
  1016. white-space: nowrap;
  1017. min-width: 56px;
  1018. text-align: right;
  1019. }
  1020. .auto-delay-controls {
  1021. display: flex;
  1022. align-items: center;
  1023. gap: 8px;
  1024. flex-shrink: 0;
  1025. }
  1026. .auto-delay-input {
  1027. width: 72px;
  1028. flex: 0 0 auto;
  1029. text-align: center;
  1030. }
  1031. .data-unit {
  1032. font-size: 12px;
  1033. font-weight: 600;
  1034. color: var(--text-muted);
  1035. flex-shrink: 0;
  1036. min-width: 24px;
  1037. text-align: left;
  1038. }
  1039. /* Status Bar */
  1040. .status-bar {
  1041. display: flex;
  1042. align-items: center;
  1043. gap: 8px;
  1044. margin-top: 8px;
  1045. padding: 8px 12px;
  1046. background: var(--bg-surface);
  1047. border: 1px solid var(--border);
  1048. border-radius: var(--radius-sm);
  1049. font-size: 13px;
  1050. font-weight: 500;
  1051. color: var(--text-secondary);
  1052. box-shadow: var(--shadow-sm);
  1053. }
  1054. .status-dot {
  1055. width: 8px;
  1056. height: 8px;
  1057. border-radius: 50%;
  1058. background: var(--text-muted);
  1059. flex-shrink: 0;
  1060. transition: background var(--transition);
  1061. }
  1062. .status-bar.running .status-dot {
  1063. background: var(--orange);
  1064. animation: pulse 1.5s ease-in-out infinite;
  1065. }
  1066. .status-bar.running { color: var(--orange); }
  1067. .status-bar.completed .status-dot { background: var(--green); }
  1068. .status-bar.completed { color: var(--green); }
  1069. .status-bar.failed .status-dot { background: var(--red); }
  1070. .status-bar.failed { color: var(--red); }
  1071. .status-bar.stopped .status-dot { background: var(--cyan); }
  1072. .status-bar.stopped { color: var(--cyan); }
  1073. .status-bar.paused .status-dot {
  1074. background: var(--orange);
  1075. animation: pulse 1.5s ease-in-out infinite;
  1076. }
  1077. .status-bar.paused { color: var(--orange); }
  1078. .status-bar.scheduled .status-dot {
  1079. background: var(--blue);
  1080. animation: pulse 1.5s ease-in-out infinite;
  1081. }
  1082. .status-bar.scheduled { color: var(--blue); }
  1083. @keyframes pulse {
  1084. 0%, 100% { opacity: 1; transform: scale(1); }
  1085. 50% { opacity: 0.4; transform: scale(0.85); }
  1086. }
  1087. /* Auto Continue Bar */
  1088. .auto-continue-bar {
  1089. margin-top: 8px;
  1090. padding: 8px 10px;
  1091. background: var(--orange-soft);
  1092. border: 1px solid rgba(234, 88, 12, 0.2);
  1093. border-radius: var(--radius-sm);
  1094. display: flex;
  1095. align-items: center;
  1096. gap: 8px;
  1097. }
  1098. .auto-continue-bar svg { color: var(--orange); flex-shrink: 0; }
  1099. .auto-hint { font-size: 13px; color: var(--orange); flex: 1; font-weight: 500; }
  1100. .auto-schedule-bar {
  1101. margin-top: 8px;
  1102. padding: 10px;
  1103. background: var(--blue-soft);
  1104. border: 1px solid rgba(37, 99, 235, 0.2);
  1105. border-radius: var(--radius-sm);
  1106. display: flex;
  1107. align-items: center;
  1108. flex-wrap: wrap;
  1109. gap: 10px;
  1110. }
  1111. .auto-schedule-bar svg {
  1112. color: var(--blue);
  1113. flex-shrink: 0;
  1114. }
  1115. .auto-schedule-copy {
  1116. display: flex;
  1117. flex-direction: column;
  1118. gap: 2px;
  1119. flex: 1;
  1120. min-width: 0;
  1121. }
  1122. .auto-schedule-title {
  1123. font-size: 13px;
  1124. font-weight: 700;
  1125. color: var(--blue);
  1126. }
  1127. .auto-schedule-meta {
  1128. font-size: 12px;
  1129. line-height: 1.5;
  1130. color: var(--text-secondary);
  1131. }
  1132. .auto-schedule-actions {
  1133. display: flex;
  1134. align-items: center;
  1135. flex-wrap: wrap;
  1136. gap: 8px;
  1137. flex-shrink: 0;
  1138. }
  1139. /* ============================================================
  1140. Steps Section
  1141. ============================================================ */
  1142. #steps-section { margin-bottom: 14px; }
  1143. .steps-header {
  1144. display: flex;
  1145. justify-content: space-between;
  1146. align-items: center;
  1147. margin-bottom: 8px;
  1148. }
  1149. .section-label {
  1150. font-size: 11px;
  1151. font-weight: 700;
  1152. color: var(--text-muted);
  1153. text-transform: uppercase;
  1154. letter-spacing: 0.08em;
  1155. }
  1156. .steps-progress {
  1157. font-family: 'JetBrains Mono', monospace;
  1158. font-size: 11px;
  1159. font-weight: 600;
  1160. color: var(--text-muted);
  1161. background: var(--bg-surface);
  1162. padding: 2px 8px;
  1163. border-radius: 10px;
  1164. border: 1px solid var(--border);
  1165. }
  1166. .steps-list {
  1167. display: flex;
  1168. flex-direction: column;
  1169. gap: 5px;
  1170. }
  1171. .step-row {
  1172. display: flex;
  1173. align-items: center;
  1174. gap: 8px;
  1175. padding: 1px 0;
  1176. transition: opacity var(--transition);
  1177. }
  1178. /* Step Number Indicator */
  1179. .step-indicator {
  1180. width: 26px;
  1181. height: 26px;
  1182. border-radius: 50%;
  1183. background: var(--bg-surface);
  1184. border: 1.5px solid var(--border);
  1185. display: flex;
  1186. align-items: center;
  1187. justify-content: center;
  1188. flex-shrink: 0;
  1189. transition: all var(--transition);
  1190. }
  1191. .step-num {
  1192. font-size: 11px;
  1193. font-weight: 700;
  1194. color: var(--text-muted);
  1195. transition: color var(--transition);
  1196. }
  1197. .step-row.running .step-indicator { border-color: var(--orange); background: var(--orange-soft); }
  1198. .step-row.running .step-num { color: var(--orange); }
  1199. .step-row.running .step-indicator { animation: pulse 1.5s ease-in-out infinite; }
  1200. .step-row.completed .step-indicator { border-color: var(--green); background: var(--green-soft); }
  1201. .step-row.completed .step-num { color: var(--green); }
  1202. .step-row.failed .step-indicator { border-color: var(--red); background: var(--red-soft); }
  1203. .step-row.failed .step-num { color: var(--red); }
  1204. .step-row.stopped .step-indicator { border-color: var(--cyan); background: rgba(8, 145, 178, 0.08); }
  1205. .step-row.stopped .step-num { color: var(--cyan); }
  1206. .step-row.manual_completed .step-indicator,
  1207. .step-row.skipped .step-indicator { border-color: var(--blue); background: var(--blue-soft); }
  1208. .step-row.manual_completed .step-num,
  1209. .step-row.skipped .step-num { color: var(--blue); }
  1210. /* Step Button */
  1211. .step-btn {
  1212. flex: 1;
  1213. padding: 8px 12px;
  1214. font-family: inherit;
  1215. font-size: 13px;
  1216. font-weight: 500;
  1217. color: var(--text-primary);
  1218. background: var(--bg-surface);
  1219. border: 1px solid var(--border);
  1220. border-radius: var(--radius-sm);
  1221. cursor: pointer;
  1222. text-align: left;
  1223. transition: all var(--transition);
  1224. box-shadow: var(--shadow-sm);
  1225. }
  1226. .step-btn:hover:not(:disabled) { background: var(--bg-hover); border-color: var(--blue); }
  1227. .step-btn:disabled { color: var(--text-muted); background: var(--bg-base); border-color: var(--border-subtle); cursor: not-allowed; opacity: 0.45; box-shadow: none; }
  1228. .step-row.running .step-btn { border-color: var(--orange); color: var(--orange); }
  1229. .step-row.completed .step-btn { border-color: var(--border-subtle); color: var(--text-secondary); opacity: 0.7; }
  1230. .step-row.failed .step-btn { border-color: var(--red); color: var(--red); }
  1231. .step-row.stopped .step-btn { border-color: var(--cyan); color: var(--cyan); }
  1232. .step-row.manual_completed .step-btn,
  1233. .step-row.skipped .step-btn { border-color: rgba(37, 99, 235, 0.25); color: var(--blue); opacity: 0.82; }
  1234. .step-actions {
  1235. display: flex;
  1236. align-items: center;
  1237. justify-content: flex-end;
  1238. gap: 6px;
  1239. width: 48px;
  1240. flex-shrink: 0;
  1241. }
  1242. .step-manual-btn {
  1243. width: 20px;
  1244. height: 20px;
  1245. padding: 0;
  1246. display: inline-flex;
  1247. align-items: center;
  1248. justify-content: center;
  1249. border: 1px solid var(--border);
  1250. border-radius: 999px;
  1251. background: var(--bg-surface);
  1252. color: var(--text-muted);
  1253. cursor: pointer;
  1254. transition: all var(--transition);
  1255. }
  1256. .step-manual-btn:hover:not(:disabled) {
  1257. border-color: var(--blue);
  1258. color: var(--blue);
  1259. background: var(--blue-soft);
  1260. }
  1261. .step-manual-btn:disabled {
  1262. color: var(--text-muted);
  1263. border-color: var(--border-subtle);
  1264. background: var(--bg-base);
  1265. cursor: not-allowed;
  1266. opacity: 0.5;
  1267. }
  1268. .step-status {
  1269. width: 20px;
  1270. text-align: center;
  1271. font-size: 14px;
  1272. font-weight: 700;
  1273. flex-shrink: 0;
  1274. }
  1275. .step-row.completed .step-status { color: var(--green); }
  1276. .step-row.failed .step-status { color: var(--red); }
  1277. .step-row.stopped .step-status { color: var(--cyan); }
  1278. .step-row.manual_completed .step-status,
  1279. .step-row.skipped .step-status { color: var(--blue); }
  1280. /* ============================================================
  1281. Log / Console Section
  1282. ============================================================ */
  1283. .log-header {
  1284. display: flex;
  1285. justify-content: space-between;
  1286. align-items: center;
  1287. margin-bottom: 6px;
  1288. }
  1289. #log-area {
  1290. background: var(--bg-surface);
  1291. border: 1px solid var(--border);
  1292. border-radius: var(--radius-md);
  1293. padding: 10px 12px;
  1294. height: 220px;
  1295. overflow-y: auto;
  1296. font-family: 'JetBrains Mono', 'Consolas', monospace;
  1297. font-size: 12px;
  1298. line-height: 1.7;
  1299. color: var(--text-secondary);
  1300. box-shadow: var(--shadow-sm);
  1301. }
  1302. #log-area::-webkit-scrollbar { width: 5px; }
  1303. #log-area::-webkit-scrollbar-track { background: transparent; }
  1304. #log-area::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 4px; }
  1305. #log-area::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
  1306. .log-line { padding: 2.5px 0; }
  1307. .log-line + .log-line { border-top: 1px solid var(--border-subtle); }
  1308. .log-time { color: var(--text-muted); }
  1309. .log-level { font-weight: 700; margin: 0 2px; }
  1310. .log-level-info { color: var(--blue); }
  1311. .log-level-ok { color: var(--green); }
  1312. .log-level-warn { color: var(--orange); }
  1313. .log-level-error { color: var(--red); }
  1314. .log-step-tag {
  1315. display: inline-block;
  1316. padding: 1px 5px;
  1317. border-radius: 3px;
  1318. font-weight: 700;
  1319. font-size: 11px;
  1320. margin-right: 3px;
  1321. }
  1322. .log-step-tag.step-1 { color: var(--cyan); background: rgba(8, 145, 178, 0.08); }
  1323. .log-step-tag.step-2 { color: var(--purple); background: rgba(124, 58, 237, 0.08); }
  1324. .log-step-tag.step-3 { color: #b45309; background: rgba(180, 83, 9, 0.06); }
  1325. [data-theme="dark"] .log-step-tag.step-3 { color: #fbbf24; background: rgba(251, 191, 36, 0.1); }
  1326. .log-step-tag.step-4 { color: var(--orange); background: var(--orange-soft); }
  1327. .log-step-tag.step-5 { color: var(--green); background: var(--green-soft); }
  1328. .log-step-tag.step-6 { color: var(--cyan); background: rgba(8, 145, 178, 0.08); }
  1329. .log-step-tag.step-7 { color: var(--orange); background: var(--orange-soft); }
  1330. .log-step-tag.step-8 { color: var(--purple); background: rgba(124, 58, 237, 0.08); }
  1331. .log-step-tag.step-9 { color: var(--green); background: var(--green-soft); }
  1332. .log-msg { color: var(--text-secondary); }
  1333. .log-line.log-ok .log-msg { color: var(--green); font-weight: 500; }
  1334. .log-line.log-error .log-msg { color: var(--red); font-weight: 500; }
  1335. .log-line.log-warn .log-msg { color: var(--orange); }
  1336. /* ============================================================
  1337. Animations
  1338. ============================================================ */
  1339. @keyframes fadeIn {
  1340. from { opacity: 0; transform: translateY(3px); }
  1341. to { opacity: 1; transform: translateY(0); }
  1342. }
  1343. .log-line { animation: fadeIn 120ms ease-out; }
  1344. /* ============================================================
  1345. Modal
  1346. ============================================================ */
  1347. .modal-overlay {
  1348. position: fixed;
  1349. inset: 0;
  1350. z-index: 1200;
  1351. display: flex;
  1352. align-items: center;
  1353. justify-content: center;
  1354. padding: 16px;
  1355. background: rgba(15, 17, 23, 0.32);
  1356. backdrop-filter: blur(2px);
  1357. }
  1358. .modal-overlay[hidden] {
  1359. display: none !important;
  1360. }
  1361. .modal-card {
  1362. width: min(100%, 320px);
  1363. background: var(--bg-base);
  1364. border: 1px solid var(--border);
  1365. border-radius: 12px;
  1366. box-shadow: var(--shadow-md), 0 18px 36px rgba(0, 0, 0, 0.18);
  1367. padding: 14px;
  1368. }
  1369. .modal-header {
  1370. display: flex;
  1371. align-items: center;
  1372. justify-content: space-between;
  1373. gap: 10px;
  1374. margin-bottom: 10px;
  1375. }
  1376. .modal-title {
  1377. font-size: 14px;
  1378. font-weight: 700;
  1379. color: var(--text-primary);
  1380. }
  1381. .modal-close {
  1382. width: 26px;
  1383. height: 26px;
  1384. border: none;
  1385. border-radius: 999px;
  1386. background: transparent;
  1387. color: var(--text-muted);
  1388. cursor: pointer;
  1389. font-size: 18px;
  1390. line-height: 1;
  1391. transition: all var(--transition);
  1392. }
  1393. .modal-close:hover {
  1394. background: var(--bg-hover);
  1395. color: var(--text-primary);
  1396. }
  1397. .modal-message {
  1398. font-size: 13px;
  1399. line-height: 1.55;
  1400. color: var(--text-secondary);
  1401. margin-bottom: 14px;
  1402. }
  1403. .modal-alert {
  1404. font-size: 12px;
  1405. line-height: 1.5;
  1406. margin-bottom: 14px;
  1407. padding: 9px 10px;
  1408. border-radius: 10px;
  1409. border: 1px solid transparent;
  1410. }
  1411. .modal-alert.is-danger {
  1412. color: var(--red);
  1413. background: var(--red-soft);
  1414. border-color: rgba(220, 38, 38, 0.18);
  1415. }
  1416. .modal-option-row {
  1417. margin-bottom: 14px;
  1418. }
  1419. .modal-option-label {
  1420. display: flex;
  1421. align-items: center;
  1422. gap: 8px;
  1423. font-size: 12px;
  1424. color: var(--text-secondary);
  1425. cursor: pointer;
  1426. }
  1427. .modal-option-label input[type="checkbox"] {
  1428. accent-color: var(--blue);
  1429. cursor: pointer;
  1430. }
  1431. .modal-actions {
  1432. display: flex;
  1433. justify-content: flex-end;
  1434. gap: 8px;
  1435. }
  1436. /* ============================================================
  1437. Toast Notifications
  1438. ============================================================ */
  1439. #toast-container {
  1440. position: fixed;
  1441. bottom: 12px;
  1442. left: 12px;
  1443. right: 12px;
  1444. z-index: 1000;
  1445. display: flex;
  1446. flex-direction: column;
  1447. gap: 6px;
  1448. pointer-events: none;
  1449. }
  1450. .toast {
  1451. display: flex;
  1452. align-items: center;
  1453. gap: 8px;
  1454. padding: 10px 14px;
  1455. border-radius: var(--radius-md);
  1456. font-size: 13px;
  1457. font-weight: 500;
  1458. box-shadow: var(--shadow-md), 0 4px 12px rgba(0,0,0,0.1);
  1459. pointer-events: auto;
  1460. animation: toastIn 250ms ease-out;
  1461. border: 1px solid;
  1462. }
  1463. .toast.toast-exit {
  1464. animation: toastOut 200ms ease-in forwards;
  1465. }
  1466. .toast-error {
  1467. background: var(--red-soft);
  1468. border-color: var(--red);
  1469. color: var(--red);
  1470. }
  1471. .toast-warn {
  1472. background: var(--orange-soft);
  1473. border-color: var(--orange);
  1474. color: var(--orange);
  1475. }
  1476. .toast-success {
  1477. background: var(--green-soft);
  1478. border-color: var(--green);
  1479. color: var(--green);
  1480. }
  1481. .toast-info {
  1482. background: var(--blue-soft);
  1483. border-color: var(--blue);
  1484. color: var(--blue);
  1485. }
  1486. .toast svg {
  1487. flex-shrink: 0;
  1488. }
  1489. .toast-msg {
  1490. flex: 1;
  1491. }
  1492. .toast-close {
  1493. background: none;
  1494. border: none;
  1495. color: inherit;
  1496. opacity: 0.6;
  1497. cursor: pointer;
  1498. padding: 2px;
  1499. font-size: 16px;
  1500. line-height: 1;
  1501. }
  1502. .toast-close:hover { opacity: 1; }
  1503. @keyframes toastIn {
  1504. from { opacity: 0; transform: translateY(-10px) scale(0.96); }
  1505. to { opacity: 1; transform: translateY(0) scale(1); }
  1506. }
  1507. @keyframes toastOut {
  1508. from { opacity: 1; transform: translateY(0) scale(1); }
  1509. to { opacity: 0; transform: translateY(-10px) scale(0.96); }
  1510. }
  1511. @media (prefers-reduced-motion: reduce) {
  1512. *, *::before, *::after {
  1513. animation-duration: 0.01ms !important;
  1514. transition-duration: 0.01ms !important;
  1515. }
  1516. }