sidepanel.css 33 KB

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