.driver-active .driver-overlay,.driver-active *{pointer-events:none}.driver-active .driver-active-element,.driver-active .driver-active-element *,.driver-popover,.driver-popover *{pointer-events:auto}@keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}.driver-fade .driver-overlay{animation:animate-fade-in .2s ease-in-out}.driver-fade .driver-popover{animation:animate-fade-in .2s}.driver-popover{all:unset;box-sizing:border-box;color:#2d2d2d;margin:0;padding:15px;border-radius:5px;min-width:250px;max-width:300px;box-shadow:0 1px 10px #0006;z-index:1000000000;position:fixed;top:0;right:0;background-color:#fff}.driver-popover *{font-family:Helvetica Neue,Inter,ui-sans-serif,"Apple Color Emoji",Helvetica,Arial,sans-serif}.driver-popover-title{font:19px/normal sans-serif;font-weight:700;display:block;position:relative;line-height:1.5;zoom:1;margin:0}.driver-popover-close-btn{all:unset;position:absolute;top:0;right:0;width:32px;height:28px;cursor:pointer;font-size:18px;font-weight:500;color:#d2d2d2;z-index:1;text-align:center;transition:color;transition-duration:.2s}.driver-popover-close-btn:hover,.driver-popover-close-btn:focus{color:#2d2d2d}.driver-popover-title[style*=block]+.driver-popover-description{margin-top:5px}.driver-popover-description{margin-bottom:0;font:14px/normal sans-serif;line-height:1.5;font-weight:400;zoom:1}.driver-popover-footer{margin-top:15px;text-align:right;zoom:1;display:flex;align-items:center;justify-content:space-between}.driver-popover-progress-text{font-size:13px;font-weight:400;color:#727272;zoom:1}.driver-popover-footer button{all:unset;display:inline-block;box-sizing:border-box;padding:3px 7px;text-decoration:none;text-shadow:1px 1px 0 #fff;background-color:#fff;color:#2d2d2d;font:12px/normal sans-serif;cursor:pointer;outline:0;zoom:1;line-height:1.3;border:1px solid #ccc;border-radius:3px}.driver-popover-footer .driver-popover-btn-disabled{opacity:.5;pointer-events:none}:not(body):has(>.driver-active-element){overflow:hidden!important}.driver-no-interaction,.driver-no-interaction *{pointer-events:none!important}.driver-popover-footer button:hover,.driver-popover-footer button:focus{background-color:#f7f7f7}.driver-popover-navigation-btns{display:flex;flex-grow:1;justify-content:flex-end}.driver-popover-navigation-btns button+button{margin-left:4px}.driver-popover-arrow{content:"";position:absolute;border:5px solid #fff}.driver-popover-arrow-side-over{display:none}.driver-popover-arrow-side-left{left:100%;border-right-color:transparent;border-bottom-color:transparent;border-top-color:transparent}.driver-popover-arrow-side-right{right:100%;border-left-color:transparent;border-bottom-color:transparent;border-top-color:transparent}.driver-popover-arrow-side-top{top:100%;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.driver-popover-arrow-side-bottom{bottom:100%;border-left-color:transparent;border-top-color:transparent;border-right-color:transparent}.driver-popover-arrow-side-center{display:none}.driver-popover-arrow-side-left.driver-popover-arrow-align-start,.driver-popover-arrow-side-right.driver-popover-arrow-align-start{top:15px}.driver-popover-arrow-side-top.driver-popover-arrow-align-start,.driver-popover-arrow-side-bottom.driver-popover-arrow-align-start{left:15px}.driver-popover-arrow-align-end.driver-popover-arrow-side-left,.driver-popover-arrow-align-end.driver-popover-arrow-side-right{bottom:15px}.driver-popover-arrow-side-top.driver-popover-arrow-align-end,.driver-popover-arrow-side-bottom.driver-popover-arrow-align-end{right:15px}.driver-popover-arrow-side-left.driver-popover-arrow-align-center,.driver-popover-arrow-side-right.driver-popover-arrow-align-center{top:50%;margin-top:-5px}.driver-popover-arrow-side-top.driver-popover-arrow-align-center,.driver-popover-arrow-side-bottom.driver-popover-arrow-align-center{left:50%;margin-left:-5px}.driver-popover-arrow-none{display:none}

/* ============================================================== */
/* 1Day.api brand overrides — align sub2api admin UI with landing. */
/* Appended 2026-04-24. Safe to strip & re-apply after re-harvest. */
/* ============================================================== */

/* ---- Fonts: Space Grotesk (body) + JetBrains Mono (code/numbers) ---- */
html, body, #app,
button, input, select, textarea, label,
.text-sm, .text-base, .text-lg, .text-xl, .text-2xl, .text-3xl, .text-4xl, .text-5xl {
  font-family: "Space Grotesk", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif !important;
}
code, pre, kbd, samp,
.font-mono, [class*="font-mono"],
.tabular-nums, .font-tabular,
.api-key, .token-display {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
}

/* ---- Brand color: Tailwind violet (#7c3aed) → 1Day brand (#6340F5) ---- */
.text-violet-700, .text-purple-700 { color: #4F30D5 !important; }
.text-violet-600, .text-purple-600 { color: #6340F5 !important; }
.text-violet-500, .text-purple-500 { color: #7B5EF7 !important; }
.text-violet-400, .text-purple-400 { color: #9986FA !important; }
.text-violet-300, .text-purple-300 { color: #B8AAFC !important; }
.bg-violet-700, .bg-purple-700 { background-color: #4F30D5 !important; }
.bg-violet-600, .bg-purple-600 { background-color: #6340F5 !important; }
.bg-violet-500, .bg-purple-500 { background-color: #7B5EF7 !important; }
.bg-violet-100, .bg-purple-100 { background-color: #EEE9FE !important; }
.bg-violet-50,  .bg-purple-50  { background-color: #F6F3FF !important; }
.border-violet-700, .border-purple-700 { border-color: #4F30D5 !important; }
.border-violet-600, .border-purple-600 { border-color: #6340F5 !important; }
.border-violet-500, .border-purple-500 { border-color: #6340F5 !important; }
.hover\:bg-violet-700:hover, .hover\:bg-purple-700:hover,
.hover\:bg-violet-600:hover, .hover\:bg-purple-600:hover { background-color: #4F30D5 !important; }
.hover\:text-violet-700:hover, .hover\:text-purple-700:hover { color: #4F30D5 !important; }
.ring-violet-500, .ring-violet-600, .ring-purple-500, .ring-purple-600 { --tw-ring-color: #6340F5 !important; }
.focus\:ring-violet-500:focus, .focus\:ring-purple-500:focus,
.focus\:ring-violet-600:focus, .focus\:ring-purple-600:focus { --tw-ring-color: #6340F5 !important; }
.from-violet-500, .from-purple-500 { --tw-gradient-from: #6340F5 !important; }
.to-violet-500, .to-purple-500 { --tw-gradient-to: #6340F5 !important; }

/* Accent used in some links (#676BE5 / #635bff) -> brand */
[style*="#676BE5"], [style*="#635bff"] { color: #6340F5 !important; }

/* ---- Sharper corners: match landing's 2-4px aesthetic ---- */
.rounded,
.rounded-md,
.rounded-lg,
.rounded-xl,
.rounded-2xl,
.rounded-3xl {
  border-radius: 4px !important;
}
.rounded-sm { border-radius: 2px !important; }
.rounded-full { border-radius: 9999px !important; } /* preserve pills/avatars */

/* ---- Input focus ring: brand outline ---- */
input:focus, select:focus, textarea:focus {
  outline: 2px solid #6340F5 !important;
  outline-offset: -2px !important;
  box-shadow: none !important;
  border-color: #6340F5 !important;
}

/* ---- Softer shadows for sharper card look ---- */
.shadow-sm { box-shadow: 0 1px 1px rgba(0,0,0,0.03) !important; }
.shadow    { box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important; }
.shadow-md { box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important; }
.shadow-lg { box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important; }
.shadow-xl { box-shadow: 0 6px 20px rgba(0,0,0,0.10) !important; }

/* ---- Typography tightening on headings ---- */
h1, h2, h3,
.text-3xl, .text-4xl, .text-5xl, .text-6xl {
  letter-spacing: -0.02em !important;
  font-weight: 700 !important;
}
h4, h5, h6,
.text-xl, .text-2xl { letter-spacing: -0.01em !important; }

/* ---- Buttons: subtle tracking to match landing's mono feel ---- */
button, [role="button"], .btn, a.btn { letter-spacing: 0.02em; }

/* ---- Subtle hairline border on cards (instead of relying only on shadow) ---- */
.bg-white { border: 1px solid rgba(15, 15, 25, 0.06); }

/* ---- Header brand text — pair with SVG logo from admin settings ---- */
.sidebar-logo-text, [class*="site-name"], [class*="brand-name"] {
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}
