sidepanel.css 33 KB

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