sidepanel.css 34 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609
  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. .data-select {
  753. flex: 1;
  754. padding: 7px 10px;
  755. background: var(--bg-base);
  756. border: 1px solid var(--border);
  757. border-radius: var(--radius-sm);
  758. color: var(--text-primary);
  759. font-family: inherit;
  760. font-size: 13px;
  761. outline: none;
  762. cursor: pointer;
  763. transition: border-color var(--transition);
  764. min-width: 0;
  765. }
  766. .data-select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
  767. [data-theme="dark"] .data-select { color-scheme: dark; }
  768. .data-check {
  769. display: flex;
  770. align-items: flex-start;
  771. gap: 8px;
  772. flex: 1;
  773. min-width: 0;
  774. font-size: 12px;
  775. line-height: 1.5;
  776. color: var(--text-secondary);
  777. cursor: pointer;
  778. }
  779. .data-check input[type="checkbox"] {
  780. margin-top: 2px;
  781. accent-color: var(--blue);
  782. cursor: pointer;
  783. flex-shrink: 0;
  784. }
  785. .fallback-inline {
  786. justify-content: space-between;
  787. align-items: center;
  788. }
  789. .fallback-thread-interval {
  790. margin-left: auto;
  791. }
  792. .timing-field {
  793. display: flex;
  794. align-items: center;
  795. gap: 12px;
  796. min-width: 0;
  797. }
  798. .timing-field-labeled {
  799. min-width: 196px;
  800. justify-content: flex-end;
  801. }
  802. .timing-field-right {
  803. margin-left: auto;
  804. }
  805. .toggle-switch {
  806. position: relative;
  807. display: inline-flex;
  808. align-items: center;
  809. flex: 0 0 auto;
  810. cursor: pointer;
  811. }
  812. .toggle-switch > span:not(.toggle-switch-track) {
  813. display: none;
  814. }
  815. .toggle-switch input {
  816. position: absolute;
  817. opacity: 0;
  818. inset: 0;
  819. width: 100%;
  820. height: 100%;
  821. margin: 0;
  822. cursor: pointer;
  823. }
  824. .toggle-switch-track {
  825. width: 38px;
  826. height: 22px;
  827. border-radius: 999px;
  828. border: 1px solid var(--border);
  829. background: var(--bg-elevated);
  830. display: inline-flex;
  831. align-items: center;
  832. padding: 2px;
  833. transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
  834. }
  835. .toggle-switch-thumb {
  836. width: 16px;
  837. height: 16px;
  838. border-radius: 50%;
  839. background: var(--bg-base);
  840. box-shadow: var(--shadow-sm);
  841. transition: transform var(--transition), background var(--transition);
  842. }
  843. .toggle-switch input:checked + .toggle-switch-track {
  844. background: var(--blue-soft);
  845. border-color: var(--blue);
  846. }
  847. .toggle-switch input:checked + .toggle-switch-track .toggle-switch-thumb {
  848. transform: translateX(16px);
  849. background: var(--blue);
  850. }
  851. .toggle-switch input:disabled + .toggle-switch-track {
  852. opacity: 0.55;
  853. }
  854. .auto-delay-inline {
  855. justify-content: space-between;
  856. align-items: center;
  857. gap: 12px;
  858. flex-wrap: nowrap;
  859. }
  860. .auto-delay-side {
  861. display: flex;
  862. align-items: center;
  863. gap: 12px;
  864. flex: 0 0 auto;
  865. min-width: 0;
  866. }
  867. .auto-delay-side-right {
  868. flex: 0 0 auto;
  869. }
  870. .auto-delay-check {
  871. flex: 0 0 auto;
  872. align-items: center;
  873. }
  874. .auto-delay-check span {
  875. white-space: nowrap;
  876. }
  877. .auto-delay-caption {
  878. font-size: 12px;
  879. font-weight: 600;
  880. color: var(--text-muted);
  881. flex: 0 0 auto;
  882. white-space: nowrap;
  883. min-width: 56px;
  884. text-align: right;
  885. }
  886. .auto-delay-controls {
  887. display: flex;
  888. align-items: center;
  889. gap: 8px;
  890. flex-shrink: 0;
  891. }
  892. .auto-delay-input {
  893. width: 72px;
  894. flex: 0 0 auto;
  895. text-align: center;
  896. }
  897. .data-unit {
  898. font-size: 12px;
  899. font-weight: 600;
  900. color: var(--text-muted);
  901. flex-shrink: 0;
  902. min-width: 24px;
  903. text-align: left;
  904. }
  905. /* Status Bar */
  906. .status-bar {
  907. display: flex;
  908. align-items: center;
  909. gap: 8px;
  910. margin-top: 8px;
  911. padding: 8px 12px;
  912. background: var(--bg-surface);
  913. border: 1px solid var(--border);
  914. border-radius: var(--radius-sm);
  915. font-size: 13px;
  916. font-weight: 500;
  917. color: var(--text-secondary);
  918. box-shadow: var(--shadow-sm);
  919. }
  920. .status-dot {
  921. width: 8px;
  922. height: 8px;
  923. border-radius: 50%;
  924. background: var(--text-muted);
  925. flex-shrink: 0;
  926. transition: background var(--transition);
  927. }
  928. .status-bar.running .status-dot {
  929. background: var(--orange);
  930. animation: pulse 1.5s ease-in-out infinite;
  931. }
  932. .status-bar.running { color: var(--orange); }
  933. .status-bar.completed .status-dot { background: var(--green); }
  934. .status-bar.completed { color: var(--green); }
  935. .status-bar.failed .status-dot { background: var(--red); }
  936. .status-bar.failed { color: var(--red); }
  937. .status-bar.stopped .status-dot { background: var(--cyan); }
  938. .status-bar.stopped { color: var(--cyan); }
  939. .status-bar.paused .status-dot {
  940. background: var(--orange);
  941. animation: pulse 1.5s ease-in-out infinite;
  942. }
  943. .status-bar.paused { color: var(--orange); }
  944. .status-bar.scheduled .status-dot {
  945. background: var(--blue);
  946. animation: pulse 1.5s ease-in-out infinite;
  947. }
  948. .status-bar.scheduled { color: var(--blue); }
  949. @keyframes pulse {
  950. 0%, 100% { opacity: 1; transform: scale(1); }
  951. 50% { opacity: 0.4; transform: scale(0.85); }
  952. }
  953. /* Auto Continue Bar */
  954. .auto-continue-bar {
  955. margin-top: 8px;
  956. padding: 8px 10px;
  957. background: var(--orange-soft);
  958. border: 1px solid rgba(234, 88, 12, 0.2);
  959. border-radius: var(--radius-sm);
  960. display: flex;
  961. align-items: center;
  962. gap: 8px;
  963. }
  964. .auto-continue-bar svg { color: var(--orange); flex-shrink: 0; }
  965. .auto-hint { font-size: 13px; color: var(--orange); flex: 1; font-weight: 500; }
  966. .auto-schedule-bar {
  967. margin-top: 8px;
  968. padding: 10px;
  969. background: var(--blue-soft);
  970. border: 1px solid rgba(37, 99, 235, 0.2);
  971. border-radius: var(--radius-sm);
  972. display: flex;
  973. align-items: center;
  974. flex-wrap: wrap;
  975. gap: 10px;
  976. }
  977. .auto-schedule-bar svg {
  978. color: var(--blue);
  979. flex-shrink: 0;
  980. }
  981. .auto-schedule-copy {
  982. display: flex;
  983. flex-direction: column;
  984. gap: 2px;
  985. flex: 1;
  986. min-width: 0;
  987. }
  988. .auto-schedule-title {
  989. font-size: 13px;
  990. font-weight: 700;
  991. color: var(--blue);
  992. }
  993. .auto-schedule-meta {
  994. font-size: 12px;
  995. line-height: 1.5;
  996. color: var(--text-secondary);
  997. }
  998. .auto-schedule-actions {
  999. display: flex;
  1000. align-items: center;
  1001. flex-wrap: wrap;
  1002. gap: 8px;
  1003. flex-shrink: 0;
  1004. }
  1005. /* ============================================================
  1006. Steps Section
  1007. ============================================================ */
  1008. #steps-section { margin-bottom: 14px; }
  1009. .steps-header {
  1010. display: flex;
  1011. justify-content: space-between;
  1012. align-items: center;
  1013. margin-bottom: 8px;
  1014. }
  1015. .section-label {
  1016. font-size: 11px;
  1017. font-weight: 700;
  1018. color: var(--text-muted);
  1019. text-transform: uppercase;
  1020. letter-spacing: 0.08em;
  1021. }
  1022. .steps-progress {
  1023. font-family: 'JetBrains Mono', monospace;
  1024. font-size: 11px;
  1025. font-weight: 600;
  1026. color: var(--text-muted);
  1027. background: var(--bg-surface);
  1028. padding: 2px 8px;
  1029. border-radius: 10px;
  1030. border: 1px solid var(--border);
  1031. }
  1032. .steps-list {
  1033. display: flex;
  1034. flex-direction: column;
  1035. gap: 5px;
  1036. }
  1037. .step-row {
  1038. display: flex;
  1039. align-items: center;
  1040. gap: 8px;
  1041. padding: 1px 0;
  1042. transition: opacity var(--transition);
  1043. }
  1044. /* Step Number Indicator */
  1045. .step-indicator {
  1046. width: 26px;
  1047. height: 26px;
  1048. border-radius: 50%;
  1049. background: var(--bg-surface);
  1050. border: 1.5px solid var(--border);
  1051. display: flex;
  1052. align-items: center;
  1053. justify-content: center;
  1054. flex-shrink: 0;
  1055. transition: all var(--transition);
  1056. }
  1057. .step-num {
  1058. font-size: 11px;
  1059. font-weight: 700;
  1060. color: var(--text-muted);
  1061. transition: color var(--transition);
  1062. }
  1063. .step-row.running .step-indicator { border-color: var(--orange); background: var(--orange-soft); }
  1064. .step-row.running .step-num { color: var(--orange); }
  1065. .step-row.running .step-indicator { animation: pulse 1.5s ease-in-out infinite; }
  1066. .step-row.completed .step-indicator { border-color: var(--green); background: var(--green-soft); }
  1067. .step-row.completed .step-num { color: var(--green); }
  1068. .step-row.failed .step-indicator { border-color: var(--red); background: var(--red-soft); }
  1069. .step-row.failed .step-num { color: var(--red); }
  1070. .step-row.stopped .step-indicator { border-color: var(--cyan); background: rgba(8, 145, 178, 0.08); }
  1071. .step-row.stopped .step-num { color: var(--cyan); }
  1072. .step-row.manual_completed .step-indicator,
  1073. .step-row.skipped .step-indicator { border-color: var(--blue); background: var(--blue-soft); }
  1074. .step-row.manual_completed .step-num,
  1075. .step-row.skipped .step-num { color: var(--blue); }
  1076. /* Step Button */
  1077. .step-btn {
  1078. flex: 1;
  1079. padding: 8px 12px;
  1080. font-family: inherit;
  1081. font-size: 13px;
  1082. font-weight: 500;
  1083. color: var(--text-primary);
  1084. background: var(--bg-surface);
  1085. border: 1px solid var(--border);
  1086. border-radius: var(--radius-sm);
  1087. cursor: pointer;
  1088. text-align: left;
  1089. transition: all var(--transition);
  1090. box-shadow: var(--shadow-sm);
  1091. }
  1092. .step-btn:hover:not(:disabled) { background: var(--bg-hover); border-color: var(--blue); }
  1093. .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; }
  1094. .step-row.running .step-btn { border-color: var(--orange); color: var(--orange); }
  1095. .step-row.completed .step-btn { border-color: var(--border-subtle); color: var(--text-secondary); opacity: 0.7; }
  1096. .step-row.failed .step-btn { border-color: var(--red); color: var(--red); }
  1097. .step-row.stopped .step-btn { border-color: var(--cyan); color: var(--cyan); }
  1098. .step-row.manual_completed .step-btn,
  1099. .step-row.skipped .step-btn { border-color: rgba(37, 99, 235, 0.25); color: var(--blue); opacity: 0.82; }
  1100. .step-actions {
  1101. display: flex;
  1102. align-items: center;
  1103. justify-content: flex-end;
  1104. gap: 6px;
  1105. width: 48px;
  1106. flex-shrink: 0;
  1107. }
  1108. .step-manual-btn {
  1109. width: 20px;
  1110. height: 20px;
  1111. padding: 0;
  1112. display: inline-flex;
  1113. align-items: center;
  1114. justify-content: center;
  1115. border: 1px solid var(--border);
  1116. border-radius: 999px;
  1117. background: var(--bg-surface);
  1118. color: var(--text-muted);
  1119. cursor: pointer;
  1120. transition: all var(--transition);
  1121. }
  1122. .step-manual-btn:hover:not(:disabled) {
  1123. border-color: var(--blue);
  1124. color: var(--blue);
  1125. background: var(--blue-soft);
  1126. }
  1127. .step-manual-btn:disabled {
  1128. color: var(--text-muted);
  1129. border-color: var(--border-subtle);
  1130. background: var(--bg-base);
  1131. cursor: not-allowed;
  1132. opacity: 0.5;
  1133. }
  1134. .step-status {
  1135. width: 20px;
  1136. text-align: center;
  1137. font-size: 14px;
  1138. font-weight: 700;
  1139. flex-shrink: 0;
  1140. }
  1141. .step-row.completed .step-status { color: var(--green); }
  1142. .step-row.failed .step-status { color: var(--red); }
  1143. .step-row.stopped .step-status { color: var(--cyan); }
  1144. .step-row.manual_completed .step-status,
  1145. .step-row.skipped .step-status { color: var(--blue); }
  1146. /* ============================================================
  1147. Log / Console Section
  1148. ============================================================ */
  1149. .log-header {
  1150. display: flex;
  1151. justify-content: space-between;
  1152. align-items: center;
  1153. margin-bottom: 6px;
  1154. }
  1155. #log-area {
  1156. background: var(--bg-surface);
  1157. border: 1px solid var(--border);
  1158. border-radius: var(--radius-md);
  1159. padding: 10px 12px;
  1160. height: 220px;
  1161. overflow-y: auto;
  1162. font-family: 'JetBrains Mono', 'Consolas', monospace;
  1163. font-size: 12px;
  1164. line-height: 1.7;
  1165. color: var(--text-secondary);
  1166. box-shadow: var(--shadow-sm);
  1167. }
  1168. #log-area::-webkit-scrollbar { width: 5px; }
  1169. #log-area::-webkit-scrollbar-track { background: transparent; }
  1170. #log-area::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 4px; }
  1171. #log-area::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
  1172. .log-line { padding: 2.5px 0; }
  1173. .log-line + .log-line { border-top: 1px solid var(--border-subtle); }
  1174. .log-time { color: var(--text-muted); }
  1175. .log-level { font-weight: 700; margin: 0 2px; }
  1176. .log-level-info { color: var(--blue); }
  1177. .log-level-ok { color: var(--green); }
  1178. .log-level-warn { color: var(--orange); }
  1179. .log-level-error { color: var(--red); }
  1180. .log-step-tag {
  1181. display: inline-block;
  1182. padding: 1px 5px;
  1183. border-radius: 3px;
  1184. font-weight: 700;
  1185. font-size: 11px;
  1186. margin-right: 3px;
  1187. }
  1188. .log-step-tag.step-1 { color: var(--cyan); background: rgba(8, 145, 178, 0.08); }
  1189. .log-step-tag.step-2 { color: var(--purple); background: rgba(124, 58, 237, 0.08); }
  1190. .log-step-tag.step-3 { color: #b45309; background: rgba(180, 83, 9, 0.06); }
  1191. [data-theme="dark"] .log-step-tag.step-3 { color: #fbbf24; background: rgba(251, 191, 36, 0.1); }
  1192. .log-step-tag.step-4 { color: var(--orange); background: var(--orange-soft); }
  1193. .log-step-tag.step-5 { color: var(--green); background: var(--green-soft); }
  1194. .log-step-tag.step-6 { color: var(--cyan); background: rgba(8, 145, 178, 0.08); }
  1195. .log-step-tag.step-7 { color: var(--orange); background: var(--orange-soft); }
  1196. .log-step-tag.step-8 { color: var(--purple); background: rgba(124, 58, 237, 0.08); }
  1197. .log-step-tag.step-9 { color: var(--green); background: var(--green-soft); }
  1198. .log-msg { color: var(--text-secondary); }
  1199. .log-line.log-ok .log-msg { color: var(--green); font-weight: 500; }
  1200. .log-line.log-error .log-msg { color: var(--red); font-weight: 500; }
  1201. .log-line.log-warn .log-msg { color: var(--orange); }
  1202. /* ============================================================
  1203. Animations
  1204. ============================================================ */
  1205. @keyframes fadeIn {
  1206. from { opacity: 0; transform: translateY(3px); }
  1207. to { opacity: 1; transform: translateY(0); }
  1208. }
  1209. .log-line { animation: fadeIn 120ms ease-out; }
  1210. /* ============================================================
  1211. Modal
  1212. ============================================================ */
  1213. .modal-overlay {
  1214. position: fixed;
  1215. inset: 0;
  1216. z-index: 1200;
  1217. display: flex;
  1218. align-items: center;
  1219. justify-content: center;
  1220. padding: 16px;
  1221. background: rgba(15, 17, 23, 0.32);
  1222. backdrop-filter: blur(2px);
  1223. }
  1224. .modal-overlay[hidden] {
  1225. display: none !important;
  1226. }
  1227. .modal-card {
  1228. width: min(100%, 320px);
  1229. background: var(--bg-base);
  1230. border: 1px solid var(--border);
  1231. border-radius: 12px;
  1232. box-shadow: var(--shadow-md), 0 18px 36px rgba(0, 0, 0, 0.18);
  1233. padding: 14px;
  1234. }
  1235. .modal-header {
  1236. display: flex;
  1237. align-items: center;
  1238. justify-content: space-between;
  1239. gap: 10px;
  1240. margin-bottom: 10px;
  1241. }
  1242. .modal-title {
  1243. font-size: 14px;
  1244. font-weight: 700;
  1245. color: var(--text-primary);
  1246. }
  1247. .modal-close {
  1248. width: 26px;
  1249. height: 26px;
  1250. border: none;
  1251. border-radius: 999px;
  1252. background: transparent;
  1253. color: var(--text-muted);
  1254. cursor: pointer;
  1255. font-size: 18px;
  1256. line-height: 1;
  1257. transition: all var(--transition);
  1258. }
  1259. .modal-close:hover {
  1260. background: var(--bg-hover);
  1261. color: var(--text-primary);
  1262. }
  1263. .modal-message {
  1264. font-size: 13px;
  1265. line-height: 1.55;
  1266. color: var(--text-secondary);
  1267. margin-bottom: 14px;
  1268. }
  1269. .modal-alert {
  1270. font-size: 12px;
  1271. line-height: 1.5;
  1272. margin-bottom: 14px;
  1273. padding: 9px 10px;
  1274. border-radius: 10px;
  1275. border: 1px solid transparent;
  1276. }
  1277. .modal-alert.is-danger {
  1278. color: var(--red);
  1279. background: var(--red-soft);
  1280. border-color: rgba(220, 38, 38, 0.18);
  1281. }
  1282. .modal-option-row {
  1283. margin-bottom: 14px;
  1284. }
  1285. .modal-option-label {
  1286. display: flex;
  1287. align-items: center;
  1288. gap: 8px;
  1289. font-size: 12px;
  1290. color: var(--text-secondary);
  1291. cursor: pointer;
  1292. }
  1293. .modal-option-label input[type="checkbox"] {
  1294. accent-color: var(--blue);
  1295. cursor: pointer;
  1296. }
  1297. .modal-actions {
  1298. display: flex;
  1299. justify-content: flex-end;
  1300. gap: 8px;
  1301. }
  1302. /* ============================================================
  1303. Toast Notifications
  1304. ============================================================ */
  1305. #toast-container {
  1306. position: fixed;
  1307. bottom: 12px;
  1308. left: 12px;
  1309. right: 12px;
  1310. z-index: 1000;
  1311. display: flex;
  1312. flex-direction: column;
  1313. gap: 6px;
  1314. pointer-events: none;
  1315. }
  1316. .toast {
  1317. display: flex;
  1318. align-items: center;
  1319. gap: 8px;
  1320. padding: 10px 14px;
  1321. border-radius: var(--radius-md);
  1322. font-size: 13px;
  1323. font-weight: 500;
  1324. box-shadow: var(--shadow-md), 0 4px 12px rgba(0,0,0,0.1);
  1325. pointer-events: auto;
  1326. animation: toastIn 250ms ease-out;
  1327. border: 1px solid;
  1328. }
  1329. .toast.toast-exit {
  1330. animation: toastOut 200ms ease-in forwards;
  1331. }
  1332. .toast-error {
  1333. background: var(--red-soft);
  1334. border-color: var(--red);
  1335. color: var(--red);
  1336. }
  1337. .toast-warn {
  1338. background: var(--orange-soft);
  1339. border-color: var(--orange);
  1340. color: var(--orange);
  1341. }
  1342. .toast-success {
  1343. background: var(--green-soft);
  1344. border-color: var(--green);
  1345. color: var(--green);
  1346. }
  1347. .toast-info {
  1348. background: var(--blue-soft);
  1349. border-color: var(--blue);
  1350. color: var(--blue);
  1351. }
  1352. .toast svg {
  1353. flex-shrink: 0;
  1354. }
  1355. .toast-msg {
  1356. flex: 1;
  1357. }
  1358. .toast-close {
  1359. background: none;
  1360. border: none;
  1361. color: inherit;
  1362. opacity: 0.6;
  1363. cursor: pointer;
  1364. padding: 2px;
  1365. font-size: 16px;
  1366. line-height: 1;
  1367. }
  1368. .toast-close:hover { opacity: 1; }
  1369. @keyframes toastIn {
  1370. from { opacity: 0; transform: translateY(-10px) scale(0.96); }
  1371. to { opacity: 1; transform: translateY(0) scale(1); }
  1372. }
  1373. @keyframes toastOut {
  1374. from { opacity: 1; transform: translateY(0) scale(1); }
  1375. to { opacity: 0; transform: translateY(-10px) scale(0.96); }
  1376. }
  1377. @media (prefers-reduced-motion: reduce) {
  1378. *, *::before, *::after {
  1379. animation-duration: 0.01ms !important;
  1380. transition-duration: 0.01ms !important;
  1381. }
  1382. }