/* ═══════════════════════════════════════════════════════════════
   AEGIS THEME: FROST (White – Default)
   ═══════════════════════════════════════════════════════════════ */
:root, [data-theme="frost"] {
  --aegis-bg: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 50%, #cbd5e1 100%);
  --aegis-glass: rgba(0,0,0,0.02);
  --aegis-glass-solid: rgba(0,0,0,0.04);
  --aegis-glass-border: rgba(0,0,0,0.35);
  --aegis-glass-hover: rgba(0,0,0,0.06);
  --aegis-text: #1e293b;
  --aegis-text-soft: #475569;
  --aegis-text-muted: #64748b;
  --aegis-accent: #00a583;
  --aegis-gold: #ffaa00;
  --aegis-danger: #b91c1c;
  --aegis-warning: #f59e0b;
  --aegis-success: #0a9b6e;
  --aegis-sidebar: rgba(0,0,0,0.04);
  --aegis-input: rgba(0,0,0,0.05);
  --aegis-blur: 3px;
  --aegis-shadow: 0 8px 32px rgba(0,0,0,0.08);
  --aegis-shield-stroke: #1e293b;
  --aegis-shield-fill: #334155;
  --aegis-shield-lock: #0f172a;
}

/* ═══════════════════════════════════════════════════════════════
   FROST MASTER OVERRIDES — Alle Bereiche
   ═══════════════════════════════════════════════════════════════ */

/* === GLOBALE TRANSPARENZ === */
[data-theme="frost"] .aegis-ki-input,
[data-theme="frost"] .aegis-ki-chat,
[data-theme="frost"] .aegis-ki-card,
[data-theme="frost"] .aegis-ki-tabs,
[data-theme="frost"] .aegis-ki-providers,
[data-theme="frost"] .aegis-ki-chip,
[data-theme="frost"] .aegis-threat-map,
[data-theme="frost"] .aegis-threat-feed,
[data-theme="frost"] .aegis-feed-item,
[data-theme="frost"] .aegis-list-table-wrap,
[data-theme="frost"] .aegis-list-table th,
[data-theme="frost"] .aegis-email-panel,
[data-theme="frost"] .aegis-email-list,
[data-theme="frost"] .aegis-email-item,
[data-theme="frost"] .aegis-email-detail,
[data-theme="frost"] .aegis-email-toolbar,
[data-theme="frost"] .aegis-email-content,
[data-theme="frost"] .aegis-email-folders,
[data-theme="frost"] .aegis-email-row,
[data-theme="frost"] .aegis-sandbox-panel,
[data-theme="frost"] .aegis-sandbox-card,
[data-theme="frost"] .aegis-sandbox-upload,
[data-theme="frost"] .aegis-sandbox-results,
[data-theme="frost"] .aegis-sandbox-history,
[data-theme="frost"] .aegis-settings-panel,
[data-theme="frost"] .aegis-settings-section,
[data-theme="frost"] .aegis-settings-card,
[data-theme="frost"] .aegis-settings-row,
[data-theme="frost"] .aegis-settings-input,
[data-theme="frost"] .aegis-att-analysis,
[data-theme="frost"] .aegis-att-threats,
[data-theme="frost"] .aegis-contact-info,
[data-theme="frost"] .aegis-contact-row,
[data-theme="frost"] .aegis-modal,
[data-theme="frost"] .aegis-overlay-content,
[data-theme="frost"] .aegis-panel,
[data-theme="frost"] .aegis-card,
[data-theme="frost"] .aegis-box {
  background: transparent !important;
}

/* === SCHWARZE RAHMEN (0.5 opacity) === */
[data-theme="frost"] .aegis-ki-card,
[data-theme="frost"] .aegis-ki-chip,
[data-theme="frost"] .aegis-ki-chat,
[data-theme="frost"] .aegis-ki-providers,
[data-theme="frost"] .aegis-ki-input,
[data-theme="frost"] .aegis-ki-tabs,
[data-theme="frost"] .aegis-ki-tab,
[data-theme="frost"] .aegis-threat-map,
[data-theme="frost"] .aegis-threat-feed,
[data-theme="frost"] .aegis-threat-stat,
[data-theme="frost"] .aegis-feed-item,
[data-theme="frost"] .aegis-list-table-wrap,
[data-theme="frost"] .aegis-list-table,
[data-theme="frost"] .aegis-list-table th,
[data-theme="frost"] .aegis-list-table td,
[data-theme="frost"] .aegis-email-item,
[data-theme="frost"] .aegis-email-detail,
[data-theme="frost"] .aegis-email-toolbar,
[data-theme="frost"] .aegis-email-list,
[data-theme="frost"] .aegis-email-folders,
[data-theme="frost"] .aegis-email-content,
[data-theme="frost"] .aegis-sandbox-card,
[data-theme="frost"] .aegis-sandbox-upload,
[data-theme="frost"] .aegis-sandbox-results,
[data-theme="frost"] .aegis-settings-card,
[data-theme="frost"] .aegis-settings-section,
[data-theme="frost"] .aegis-settings-input,
[data-theme="frost"] .aegis-att-analysis,
[data-theme="frost"] .aegis-att-threats,
[data-theme="frost"] .aegis-contact-modal,
[data-theme="frost"] .aegis-contact-info,
[data-theme="frost"] .aegis-modal,
[data-theme="frost"] .aegis-overlay-content,
[data-theme="frost"] .aegis-panel,
[data-theme="frost"] .aegis-card,
[data-theme="frost"] .aegis-box,
[data-theme="frost"] .aegis-btn,
[data-theme="frost"] .aegis-input,
[data-theme="frost"] .aegis-select,
[data-theme="frost"] .aegis-textarea {
  border: 1px solid rgba(0,0,0,0.5) !important;
}

/* === ALLE TEXTE SCHWARZ === */
[data-theme="frost"] .aegis-ki-chat-header,
[data-theme="frost"] .aegis-ki-name,
[data-theme="frost"] .aegis-ki-providers-title,
[data-theme="frost"] .aegis-ki-card-info,
[data-theme="frost"] .aegis-ki-card-model,
[data-theme="frost"] .aegis-ki-chat-status,
[data-theme="frost"] .aegis-ki-chat-empty,
[data-theme="frost"] .aegis-ki-tab,
[data-theme="frost"] .aegis-threat-stat .num,
[data-theme="frost"] .aegis-threat-stat .label,
[data-theme="frost"] .aegis-threat-map-placeholder,
[data-theme="frost"] .aegis-feed-title,
[data-theme="frost"] .aegis-feed-item,
[data-theme="frost"] .aegis-list-title,
[data-theme="frost"] .aegis-list-desc,
[data-theme="frost"] .aegis-list-table th,
[data-theme="frost"] .aegis-list-table td,
[data-theme="frost"] .aegis-email-sender,
[data-theme="frost"] .aegis-email-subject,
[data-theme="frost"] .aegis-email-time,
[data-theme="frost"] .aegis-email-count,
[data-theme="frost"] .aegis-email-empty,
[data-theme="frost"] .aegis-email-content,
[data-theme="frost"] .aegis-email-detail-header,
[data-theme="frost"] .aegis-email-detail h3,
[data-theme="frost"] .aegis-email-detail p,
[data-theme="frost"] .aegis-email-detail span,
[data-theme="frost"] .aegis-email-folder,
[data-theme="frost"] .aegis-email-folder-name,
[data-theme="frost"] .aegis-email-folder-count,
[data-theme="frost"] .aegis-sandbox-title,
[data-theme="frost"] .aegis-sandbox-desc,
[data-theme="frost"] .aegis-sandbox-label,
[data-theme="frost"] .aegis-sandbox-text,
[data-theme="frost"] .aegis-sandbox-status,
[data-theme="frost"] .aegis-sandbox-result,
[data-theme="frost"] .aegis-settings-title,
[data-theme="frost"] .aegis-settings-desc,
[data-theme="frost"] .aegis-settings-label,
[data-theme="frost"] .aegis-settings-value,
[data-theme="frost"] .aegis-settings-text,
[data-theme="frost"] .aegis-att-analysis-title,
[data-theme="frost"] .aegis-att-analysis-text,
[data-theme="frost"] .aegis-att-threats-title,
[data-theme="frost"] .aegis-att-threat-item,
[data-theme="frost"] .aegis-contact-modal-titles h2,
[data-theme="frost"] .aegis-contact-modal-titles p,
[data-theme="frost"] .aegis-contact-name,
[data-theme="frost"] .aegis-contact-email,
[data-theme="frost"] .aegis-contact-label,
[data-theme="frost"] .aegis-contact-value,
[data-theme="frost"] .aegis-modal-title,
[data-theme="frost"] .aegis-modal-text,
[data-theme="frost"] .aegis-panel-title,
[data-theme="frost"] .aegis-panel-text,
[data-theme="frost"] .aegis-card-title,
[data-theme="frost"] .aegis-card-text,
[data-theme="frost"] .aegis-label,
[data-theme="frost"] .aegis-text,
[data-theme="frost"] .aegis-title,
[data-theme="frost"] .aegis-desc,
[data-theme="frost"] .aegis-info,
[data-theme="frost"] .aegis-stat,
[data-theme="frost"] .aegis-value,
[data-theme="frost"] .aegis-heading,
[data-theme="frost"] .aegis-subheading,
[data-theme="frost"] h1, [data-theme="frost"] h2,
[data-theme="frost"] h3, [data-theme="frost"] h4,
[data-theme="frost"] h5, [data-theme="frost"] h6,
[data-theme="frost"] p, [data-theme="frost"] span,
[data-theme="frost"] label, [data-theme="frost"] td,
[data-theme="frost"] th, [data-theme="frost"] li {
  color: #1e293b !important;
}

/* === CONTACT MODAL === */
[data-theme="frost"] .aegis-contact-modal {
  background: rgba(255,255,255,0.85) !important;
}

[data-theme="frost"] .aegis-contact-modal-header {
  background: linear-gradient(135deg, rgba(0,201,167,0.08) 0%, transparent 60%);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* === INPUTS & BUTTONS === */
[data-theme="frost"] input,
[data-theme="frost"] textarea,
[data-theme="frost"] select {
  background: transparent !important;
  color: #1e293b !important;
  border: 1px solid rgba(0,0,0,0.5) !important;
}

[data-theme="frost"] input::placeholder,
[data-theme="frost"] textarea::placeholder {
  color: #64748b !important;
}

/* === MUTED TEXT DARKER === */
[data-theme="frost"] .aegis-text-muted,
[data-theme="frost"] .text-muted,
[data-theme="frost"] [class*="muted"] {
  color: #475569 !important;
}


/* === SVGs SCHWARZ (nur stroke, nicht gefüllt) === */
[data-theme="frost"] svg path,
[data-theme="frost"] svg circle,
[data-theme="frost"] svg rect,
[data-theme="frost"] svg line,
[data-theme="frost"] svg polyline,
[data-theme="frost"] svg polygon {
  stroke: #1e293b !important;
}

/* Accent-Farben beibehalten */
[data-theme="frost"] .aegis-danger svg path {
  stroke: var(--aegis-danger) !important;
}

[data-theme="frost"] .aegis-warning svg path {
  stroke: var(--aegis-warning) !important;
}

[data-theme="frost"] .aegis-success svg path {
  stroke: var(--aegis-success) !important;
}


/* === AEGIS STATUS BOX (Sidebar unten) === */
[data-theme="frost"] .aegis-status {
  background: transparent !important;
  border: 1px solid rgba(0,0,0,0.5) !important;
}

[data-theme="frost"] .aegis-status span,
[data-theme="frost"] .aegis-status div {
  color: #1e293b !important;
}


/* === KI CARD STATES (hover, selected) === */
[data-theme="frost"] .aegis-ki-card:hover,
[data-theme="frost"] .aegis-ki-card.selected {
  background: transparent !important;
}

[data-theme="frost"] .aegis-ki-card-key {
  background: transparent !important;
  position: relative;
}


[data-theme="frost"] .aegis-ki-eye {
  color: #0a0f1a;
  opacity: 0.7;
}

[data-theme="frost"] .aegis-ki-eye:hover {
  opacity: 1;
}


/* === KI CHAT INNERE ELEMENTE === */
[data-theme="frost"] .aegis-ki-chat-header,
[data-theme="frost"] .aegis-ki-chat-messages,
[data-theme="frost"] .aegis-ki-chat-input,
[data-theme="frost"] .aegis-ki-msg,
[data-theme="frost"] .aegis-ki-msg.assistant {
  background: transparent !important;
}


/* === LICENSE BOX === */
[data-theme="frost"] .aegis-license-digital {
  background: transparent !important;
  border: 1px solid rgba(0,0,0,0.5) !important;
}

[data-theme="frost"] .aegis-license-separator {
  color: rgba(0,0,0,0.4) !important;
}

[data-theme="frost"] .aegis-license-slot {
  color: #1e293b !important;
}




/* === STATS ICON BOXEN TRANSPARENT === */
[data-theme="frost"] .aegis-stat-icon {
  background: transparent !important;
}


/* === COMPOSE BUTTON NUR RAHMEN === */
[data-theme="frost"] .aegis-compose-btn {
  background: transparent !important;
  border: 1px solid rgba(0,0,0,0.5) !important;
  color: #1e293b !important;
}

[data-theme="frost"] .aegis-compose-btn:hover {
  background: rgba(0,0,0,0.05) !important;
  box-shadow: none !important;
}


/* === KI ANALYSE BADGES BOX TRANSPARENT === */
[data-theme="frost"] .aegis-links-analyzed-by {
  background: transparent !important;
  border-bottom: 1px solid rgba(0,0,0,0.2) !important;
}

[data-theme="frost"] .aegis-ki-badge:hover {
  background: rgba(0,0,0,0.05) !important;
}


/* === LINK-ANALYSE + KI-RISIKOANALYSE BOXEN TRANSPARENT === */
[data-theme="frost"] .aegis-links-card {
  background: transparent !important;
  border: 1px solid rgba(0,0,0,0.3) !important;
}

[data-theme="frost"] .aegis-links-card-header {
  background: transparent !important;
  border-bottom: 1px solid rgba(0,0,0,0.2) !important;
}

[data-theme="frost"] .aegis-detail-section {
  background: transparent !important;
  border: 1px solid rgba(0,0,0,0.3) !important;
}

[data-theme="frost"] .aegis-link-item {
  background: transparent !important;
}


/* === NACHRICHT BOX TRANSPARENT === */
[data-theme="frost"] .aegis-detail-body {
  background: transparent !important;
  border: 1px solid rgba(0,0,0,0.2) !important;
  color: #1e293b !important;
}


/* === LINK ROW IN LINK-ANALYSE TRANSPARENT === */
[data-theme="frost"] .aegis-link-row {
  background: transparent !important;
  border: 1px solid rgba(0,0,0,0.2) !important;
  border-left: 3px solid !important;
}

[data-theme="frost"] .aegis-link-row.safe {
  border-left-color: var(--aegis-success) !important;
}

[data-theme="frost"] .aegis-link-row.danger {
  border-left-color: var(--aegis-danger) !important;
}


/* === LINK TEXT BOX TRANSPARENT === */
[data-theme="frost"] .aegis-link-text {
  background: transparent !important;
  border: 1px solid rgba(0,0,0,0.2) !important;
  color: #1e293b !important;
}

[data-theme="frost"] .aegis-link-copy {
  background: transparent !important;
  border: 1px solid rgba(0,0,0,0.3) !important;
  color: #1e293b !important;
}

[data-theme="frost"] .aegis-link-copy:hover {
  background: rgba(0,0,0,0.05) !important;
}


/* === SANDBOX GEFUNDENE URLS BOX TRANSPARENT === */
[data-theme="frost"] .aegis-att-urls {
  background: transparent !important;
  border: 1px solid rgba(0,0,0,0.2) !important;
}


/* === SANDBOX URL BOXEN TRANSPARENT === */
[data-theme="frost"] .aegis-att-url {
  background: transparent !important;
  border: 1px solid rgba(0,0,0,0.2) !important;
  border-left: 3px solid var(--aegis-danger) !important;
}


/* === SANDBOX BLOCKIERT BADGE STÄRKER === */
[data-theme="frost"] .aegis-att-url .aegis-badge-blocked,
[data-theme="frost"] .aegis-att-url span[style*="color:var(--aegis-danger)"] {
  color: #dc2626 !important;
  font-weight: 700 !important;
  text-shadow: 0 0 1px rgba(220,38,38,0.5) !important;
}

/* === KI ANALYSIS LEARNING STATS CARDS === */
[data-theme="frost"] .aegis-learning-stat {
  border: 1px solid rgba(0,0,0,0.3);
}

/* === CONTACTS CARDS === */
[data-theme="frost"] .aegis-contact-card {
  border: 1px solid rgba(0,0,0,0.3);
}

/* === TUTORIAL MODAL === */
[data-theme="frost"] .aegis-tutorial-modal {
  background: rgba(255,255,255,0.1) !important;
  backdrop-filter: blur(30px) !important;
  -webkit-backdrop-filter: blur(30px) !important;
}

[data-theme="frost"] .aegis-tutorial-modal,
[data-theme="frost"] .aegis-tutorial-modal p,
[data-theme="frost"] .aegis-tutorial-modal span,
[data-theme="frost"] .aegis-tutorial-modal h3,
[data-theme="frost"] .aegis-tutorial-title,
[data-theme="frost"] .aegis-tutorial-sub,
[data-theme="frost"] .aegis-tutorial-step-body p {
  color: #000 !important;
}

[data-theme="frost"] .aegis-tutorial-modal strong,
[data-theme="frost"] .aegis-tutorial-step-body strong {
  color: #000 !important;
}

/* === SIDEBAR NAV SVG ICONS === */
[data-theme="frost"] .aegis-nav-icon svg {
  stroke: #000 !important;
  opacity: 1 !important;
}

[data-theme="frost"] .aegis-nav-icon svg * {
  stroke: #000 !important;
}

/* === LOGO SHIELD === */
[data-theme="frost"] .aegis-logo-shield svg {
  stroke: #000 !important;
  stroke-width: 2.5 !important;
}

[data-theme="frost"] .aegis-logo-shield svg * {
  stroke: #000 !important;
  stroke-width: 2.5 !important;
}

/* === STAT CARD SVG ICONS === */
[data-theme="frost"] .aegis-stat-icon svg,
[data-theme="frost"] .aegis-stat-icon svg * {
  stroke: #000 !important;
  fill: none !important;
}

/* === SEARCH BOX === */
html[data-theme="frost"] .aegis-search-box,
[data-theme="frost"] .aegis-email-toolbar-center .aegis-search-box {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: rgba(255,255,255,0.4) !important;
}

html[data-theme="frost"] .aegis-search-box input,
html[data-theme="frost"] .aegis-search-input,
[data-theme="frost"] .aegis-email-toolbar-center input {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

html[data-theme="frost"] .aegis-search-box input:focus,
html[data-theme="frost"] .aegis-search-input:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

html[data-theme="frost"] .aegis-search-input::placeholder,
html[data-theme="frost"] input.aegis-search-input::placeholder {
  color: rgba(0,0,0,0.5) !important;
  -webkit-text-fill-color: rgba(0,0,0,0.5) !important;
}

html[data-theme="frost"] .aegis-search-icon svg,
html[data-theme="frost"] .aegis-search-icon svg * {
  stroke: #000 !important;
}

/* === CUSTOM DROPDOWN === */
html[data-theme="frost"] .aegis-dropdown-trigger {
  color: #000 !important;
}

html[data-theme="frost"] .aegis-dropdown-item {
  color: #000 !important;
}

/* === EMAIL FOLDERS SIDEBAR (Frost) === */
html[data-theme="frost"] .aegis-email-folders {
  background: rgba(255,255,255,0.65) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

/* === HAUPT-SIDEBAR (Frost Mobile) === */
html[data-theme="frost"] #aegis-sidebar {
  -webkit-backdrop-filter: blur(20px) !important;
}

/* === SHIELD ANALYSE OVERLAY (Glassmorphismus) === */
/* analysis-modal: removed — uses default dark glass */

/* === EMAIL-LISTE GMAIL-STYLE BOLD-OVERRIDE FUER FROST ===
   Sender + Subject pures Schwarz + maximale font-weight
   damit der Bold-Effekt auf weissem Hintergrund klar sichtbar wird */
html[data-theme="frost"] .aegis-email-item .aegis-email-sender {
  font-weight: 900 !important;
  color: #000 !important;
}
html[data-theme="frost"] .aegis-email-item .aegis-email-subject {
  font-weight: 600 !important;
  color: #1e293b !important;
}
html[data-theme="frost"] .aegis-email-item .aegis-email-subject .aegis-subject-strong {
  font-weight: 800 !important;
}

/* License Quote im Frost: weiss auf weiss -> schwarz */
[data-theme="frost"] .aegis-license-quote-text {
  color: #000 !important;
}



/* === LICENSE BUTTONS FROST: Stronger visibility on light background === */
html[data-theme="frost"] .aegis-license-activate-btn {
  border: 2px solid #059669 !important;
  color: #059669 !important;
  background: rgba(5, 150, 105, 0.08) !important;
  font-weight: 800 !important;
}
html[data-theme="frost"] .aegis-license-activate-btn:hover {
  background: rgba(5, 150, 105, 0.15) !important;
  box-shadow: 0 0 20px rgba(5, 150, 105, 0.3) !important;
}
html[data-theme="frost"] .aegis-trial-pill {
  border: 2px solid #059669 !important;
  color: #059669 !important;
  background: rgba(5, 150, 105, 0.06) !important;
}
html[data-theme="frost"] .aegis-trial-pill:hover {
  background: rgba(5, 150, 105, 0.12) !important;
}
html[data-theme="frost"] .aegis-trial-pill .aegis-trial-text {
  color: #059669 !important;
}

/* === SIDEBAR SVG ICONS STAERKER (Frost - ausser Whitelist + Blacklist) ===
   Targetet direkt stroke="#fff" und fill="#fff" Attribute -> dunkles Grau.
   Akzent-Farben (teal, orange) bleiben unbetroffen.*/
[data-theme="frost"] .aegis-nav-item:not([data-nav="whitelist"]):not([data-nav="blacklist"]) .aegis-nav-icon svg [stroke="#fff"] {
  stroke: #1e293b !important;
}
[data-theme="frost"] .aegis-nav-item:not([data-nav="whitelist"]):not([data-nav="blacklist"]) .aegis-nav-icon svg [fill="#fff"] {
  fill: #1e293b !important;
}

/* === EXTRA STAERKER: sandbox, contacts, calendar, tutorial Nav-Icons (Frost) ===
   opacity boosten + stroke-width verdoppeln + reines Schwarz fuer max Kontrast.*/
[data-theme="frost"] .aegis-nav-item[data-nav="emails"] .aegis-nav-icon svg [stroke],
[data-theme="frost"] .aegis-nav-item[data-nav="sandbox"] .aegis-nav-icon svg [stroke],
[data-theme="frost"] .aegis-nav-item[data-nav="contacts"] .aegis-nav-icon svg [stroke],
[data-theme="frost"] .aegis-nav-item[data-nav="calendar"] .aegis-nav-icon svg [stroke],
[data-theme="frost"] .aegis-nav-item[data-nav="tutorial"] .aegis-nav-icon svg [stroke] {
  opacity: 0.9 !important;
  stroke-width: 1.5 !important;
}
[data-theme="frost"] .aegis-nav-item[data-nav="sandbox"] .aegis-nav-icon svg [stroke="#fff"],
[data-theme="frost"] .aegis-nav-item[data-nav="contacts"] .aegis-nav-icon svg [stroke="#fff"],
[data-theme="frost"] .aegis-nav-item[data-nav="calendar"] .aegis-nav-icon svg [stroke="#fff"],
[data-theme="frost"] .aegis-nav-item[data-nav="tutorial"] .aegis-nav-icon svg [stroke="#fff"] {
  stroke: #000 !important;
}
[data-theme="frost"] .aegis-nav-item[data-nav="sandbox"] .aegis-nav-icon svg [fill="#fff"],
[data-theme="frost"] .aegis-nav-item[data-nav="contacts"] .aegis-nav-icon svg [fill="#fff"],
[data-theme="frost"] .aegis-nav-item[data-nav="calendar"] .aegis-nav-icon svg [fill="#fff"],
[data-theme="frost"] .aegis-nav-item[data-nav="tutorial"] .aegis-nav-icon svg [fill="#fff"] {
  fill: #000 !important;
  opacity: 0.9 !important;
}

/* Light Theme Fixes */
[data-theme="frost"] .aegis-header-banner { color: #007a63 !important; opacity: 1 !important; }
[data-theme="frost"] .aegis-panel-close svg { stroke: rgba(0,0,0,0.6) !important; }

/* cursor-fix: schwarzer Cursor auf Light Theme */
[data-theme="frost"] { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 9-7 2-4 7z' fill='%23111' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E") 4 2, auto !important; }
[data-theme="frost"] a, [data-theme="frost"] button, [data-theme="frost"] [onclick], [data-theme="frost"] .clickable, [data-theme="frost"] [style*="cursor:pointer"], [data-theme="frost"] [style*="cursor: pointer"] { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M8 13V4.5a1.5 1.5 0 0 1 3 0V12M11 11.5v-2a1.5 1.5 0 0 1 3 0V12M14 10.5a1.5 1.5 0 0 1 3 0V12' fill='none' stroke='%23111' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M17 11.5a1.5 1.5 0 0 1 3 0V15a6 6 0 0 1-6 6h-2a6 6 0 0 1-5.7-4.1L5 13.5a1.5 1.5 0 0 1 2.5-1.6L8 13' fill='none' stroke='%23111' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") 10 4, pointer !important; }

/* Sandbox Cards - Light Theme Override */
[data-theme="frost"] .aegis-download-doublecheck { background: rgba(0,201,167,0.12) !important; border-color: rgba(0,160,130,0.5) !important; }
[data-theme="frost"] .aegis-download-doublecheck div[style*="color:#fff"] { color: #1a1a1a !important; }
[data-theme="frost"] .aegis-download-doublecheck div[style*="color:rgba(255,255,255"] { color: rgba(0,0,0,0.7) !important; }
[data-theme="frost"] .aegis-download-doublecheck span[style*="color:rgba(255,255,255"] { color: rgba(0,0,0,0.55) !important; }
[data-theme="frost"] .aegis-btn-algo { color: #1a1a1a !important; border-color: rgba(0,0,0,0.25) !important; background: rgba(0,0,0,0.04) !important; }
[data-theme="frost"] .aegis-btn-recheck { color: #007a63 !important; }
[data-theme="frost"] .aegis-btn-shield { color: #1a1a1a !important; }
[data-theme="frost"] .aegis-ip-btn { color: rgba(0,0,0,0.75) !important; }
/* Rahmen staerker auf Light Theme */
[data-theme="frost"] .aegis-btn { border-color: rgba(0,0,0,0.25) !important; }
[data-theme="frost"] .aegis-btn:hover { border-color: rgba(0,0,0,0.4) !important; }
[data-theme="frost"] .aegis-btn-recheck { border: 1px solid rgba(0,120,99,0.4) !important; }
[data-theme="frost"] .aegis-btn-algo { border: 1px solid rgba(0,0,0,0.3) !important; }
[data-theme="frost"] .aegis-btn-shield { border: 1px solid rgba(0,160,130,0.5) !important; }
[data-theme="frost"] .aegis-attachment-card { border: 1px solid rgba(0,0,0,0.2) !important; box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important; }
[data-theme="frost"] .aegis-email-card { border-color: rgba(0,0,0,0.12) !important; }
[data-theme="frost"] .aegis-sync-panel { border: 1px solid rgba(0,0,0,0.15) !important; }
[data-theme="frost"] .aegis-download-doublecheck { border: 1px solid rgba(0,160,130,0.5) !important; }
[data-theme="frost"] .aegis-modal { border-color: rgba(0,0,0,0.2) !important; }
[data-theme="frost"] .aegis-status-card { border: 1px solid rgba(0,0,0,0.12) !important; }
/* 2K Viewport: Text groesser + staerker */
@media (min-width: 1800px) {
    [data-theme="frost"] { font-size: 16px !important; }
    [data-theme="frost"] .aegis-panel-title { font-size: 22px !important; font-weight: 700 !important; }
    [data-theme="frost"] .aegis-header-banner { font-size: 14px !important; font-weight: 600 !important; }
    [data-theme="frost"] .aegis-email-subject { font-size: 16px !important; font-weight: 600 !important; }
    [data-theme="frost"] .aegis-email-sender { font-size: 14px !important; }
    [data-theme="frost"] .aegis-email-preview { font-size: 14px !important; }
    [data-theme="frost"] .aegis-email-date { font-size: 13px !important; }
    [data-theme="frost"] .aegis-btn { font-size: 14px !important; font-weight: 600 !important; padding: 12px 18px !important; }
    [data-theme="frost"] .aegis-sync-title { font-size: 18px !important; }
    [data-theme="frost"] .aegis-sync-desc { font-size: 14px !important; }
    [data-theme="frost"] .aegis-sync-btn { font-size: 14px !important; }
    [data-theme="frost"] .aegis-attachment-card { font-size: 14px !important; }
    [data-theme="frost"] .aegis-modal-title { font-size: 20px !important; }
    [data-theme="frost"] .aegis-modal-desc { font-size: 15px !important; }
    [data-theme="frost"] .aegis-sidebar-label { font-size: 14px !important; font-weight: 600 !important; }
    [data-theme="frost"] .aegis-sidebar-value { font-size: 14px !important; }
    [data-theme="frost"] .aegis-tip::after { font-size: 14px !important; }
        [data-theme="frost"] p { font-size: 15px !important; line-height: 1.6 !important; font-weight: 500 !important; }
    [data-theme="frost"] .aegis-email-body p { font-size: 15px !important; }
    [data-theme="frost"] .aegis-email-body { font-size: 15px !important; }
    [data-theme="frost"] .aegis-detail-value { font-size: 14px !important; }
    [data-theme="frost"] .aegis-detail-label { font-size: 13px !important; font-weight: 600 !important; }
    [data-theme="frost"] .aegis-sidebar-section p { font-size: 14px !important; }
    [data-theme="frost"] .aegis-att-name { font-size: 15px !important; font-weight: 600 !important; }
    [data-theme="frost"] .aegis-att-info { font-size: 13px !important; }
    [data-theme="frost"] p, [data-theme="frost"] span, [data-theme="frost"] div { letter-spacing: 0.2px; }
}
/* GLOBAL: Alle Borders 2px auf Light Theme */
[data-theme="frost"] .aegis-btn,
[data-theme="frost"] .aegis-modal,
[data-theme="frost"] .aegis-attachment-card,
[data-theme="frost"] .aegis-email-card,
[data-theme="frost"] .aegis-sync-panel,
[data-theme="frost"] .aegis-download-doublecheck,
[data-theme="frost"] .aegis-status-card,
[data-theme="frost"] .aegis-overlay,
[data-theme="frost"] .aegis-ki-card,
[data-theme="frost"] .aegis-ki-chat-container,
[data-theme="frost"] .aegis-whitelist-item,
[data-theme="frost"] .aegis-blacklist-item,
[data-theme="frost"] .aegis-box,
[data-theme="frost"] .aegis-input,
[data-theme="frost"] .aegis-select,
[data-theme="frost"] .aegis-textarea,
[data-theme="frost"] .aegis-connect-card,
[data-theme="frost"] .aegis-provider-card,
[data-theme="frost"] .aegis-calendar-card,
[data-theme="frost"] .aegis-community-card,
[data-theme="frost"] .aegis-vt-card,
[data-theme="frost"] .aegis-analysis-modal,
[data-theme="frost"] .aegis-settings-card,
[data-theme="frost"] .aegis-folder-item { border-width: 2px !important; }

/* Tag Picker — weiss glasig statt dunkel */
[data-theme="frost"] .aegis-tag-picker {
  background: rgba(255,255,255,0.15) !important;
  backdrop-filter: blur(30px) saturate(1.8) brightness(1.15) !important;
  -webkit-backdrop-filter: blur(30px) saturate(1.8) brightness(1.15) !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06) !important;
}

