/**
 * ==============================================================================
 * 🌐 DUBAY CLOUDCENTER — MULTI-THEME LIGHT ENGINE
 * ==============================================================================
 * Path: public/assets/css/dubay-themes.css
 * Themes:
 *   1. modern-saas    (Default: Crisp Pure White, Soft Shadows, Multi-Gradients)
 *   2. electric-chroma (Porcelain Snow, Colored Top Borders, Glowing Buttons)
 *   3. minimalist     (Studio White, Clean 1px Micro-borders, Solid Punchy Color)
 *   4. warm-coral     (Warm Porcelain, Peach Borders, Sunset Orange/Violet Gradients)
 * ==============================================================================
 */

/* Smooth transitions across surfaces, borders, and colors */
body, .theme-card, .theme-header, .theme-table, .theme-input {
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

/* --------------------------------------------------------------------------
   THEME 1: Modern SaaS Light (Default — Stripe / Vercel Aesthetic)
   -------------------------------------------------------------------------- */
body[data-theme="modern-saas"] {
    background-color: #ffffff;
    color: #0f172a;
}
body[data-theme="modern-saas"] .theme-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}
body[data-theme="modern-saas"] .theme-card:hover {
    box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}
body[data-theme="modern-saas"] .theme-header {
    background-color: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid #e2e8f0;
    backdrop-filter: blur(12px);
}
body[data-theme="modern-saas"] .hero-gradient-text {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
body[data-theme="modern-saas"] .theme-table th {
    background-color: #f8fafc;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}
body[data-theme="modern-saas"] .theme-table td {
    background-color: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}
body[data-theme="modern-saas"] .theme-input {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
}
body[data-theme="modern-saas"] .theme-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* --------------------------------------------------------------------------
   THEME 2: Electric Chroma Light (High-Energy Tech)
   -------------------------------------------------------------------------- */
body[data-theme="electric-chroma"] {
    background-color: #f8fafc;
    color: #0f172a;
}
body[data-theme="electric-chroma"] .theme-card {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-top: 4px solid var(--accent-color, #4f46e5);
    box-shadow: 0 6px 20px -2px rgba(99, 102, 241, 0.08);
}
body[data-theme="electric-chroma"] .theme-card:hover {
    box-shadow: 0 14px 34px -4px rgba(99, 102, 241, 0.18);
    transform: translateY(-3px);
}
body[data-theme="electric-chroma"] .theme-header {
    background-color: rgba(248, 250, 252, 0.94);
    border-bottom: 2px solid #e2e8f0;
    backdrop-filter: blur(12px);
}
body[data-theme="electric-chroma"] .hero-gradient-text {
    background: linear-gradient(135deg, #4f46e5 0%, #ec4899 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
body[data-theme="electric-chroma"] .theme-table th {
    background-color: #f1f5f9;
    color: #334155;
    border-bottom: 2px solid #cbd5e1;
}
body[data-theme="electric-chroma"] .theme-table td {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}
body[data-theme="electric-chroma"] .theme-input {
    background-color: #ffffff;
    border: 1px solid #94a3b8;
    color: #0f172a;
}
body[data-theme="electric-chroma"] .theme-input:focus {
    border-color: #ec4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.2);
}

/* --------------------------------------------------------------------------
   THEME 3: Minimalist Enterprise Light (Apple / Linear Aesthetic)
   -------------------------------------------------------------------------- */
body[data-theme="minimalist"] {
    background-color: #ffffff;
    color: #111827;
}
body[data-theme="minimalist"] .theme-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: none;
}
body[data-theme="minimalist"] .theme-card:hover {
    border-color: #94a3b8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
body[data-theme="minimalist"] .theme-header {
    background-color: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e5e7eb;
    backdrop-filter: blur(8px);
}
body[data-theme="minimalist"] .hero-gradient-text {
    color: #0f172a;
    -webkit-text-fill-color: initial;
    background: none;
}
body[data-theme="minimalist"] .theme-table th {
    background-color: #ffffff;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
}
body[data-theme="minimalist"] .theme-table td {
    background-color: #ffffff;
    border-bottom: 1px solid #f3f4f6;
}
body[data-theme="minimalist"] .theme-input {
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    color: #111827;
}
body[data-theme="minimalist"] .theme-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

/* --------------------------------------------------------------------------
   THEME 4: Warm Coral & Sunset Light (Fintech / Startup Hub)
   -------------------------------------------------------------------------- */
body[data-theme="warm-coral"] {
    background-color: #fffdfa;
    color: #1c1917;
}
body[data-theme="warm-coral"] .theme-card {
    background-color: #ffffff;
    border: 1px solid #fed7aa;
    box-shadow: 0 4px 20px -2px rgba(249, 115, 22, 0.06);
}
body[data-theme="warm-coral"] .theme-card:hover {
    border-color: #fb923c;
    box-shadow: 0 12px 28px -4px rgba(249, 115, 22, 0.14);
    transform: translateY(-2px);
}
body[data-theme="warm-coral"] .theme-header {
    background-color: rgba(255, 253, 250, 0.94);
    border-bottom: 1px solid #ffedd5;
    backdrop-filter: blur(12px);
}
body[data-theme="warm-coral"] .hero-gradient-text {
    background: linear-gradient(135deg, #ea580c 0%, #db2777 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
body[data-theme="warm-coral"] .theme-table th {
    background-color: #fff7ed;
    color: #9a3412;
    border-bottom: 1px solid #fed7aa;
}
body[data-theme="warm-coral"] .theme-table td {
    background-color: #ffffff;
    border-bottom: 1px solid #ffedd5;
}
body[data-theme="warm-coral"] .theme-input {
    background-color: #ffffff;
    border: 1px solid #fdba74;
    color: #1c1917;
}
body[data-theme="warm-coral"] .theme-input:focus {
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

/* --------------------------------------------------------------------------
   THEME PICKER UI COMPONENT STYLES
   -------------------------------------------------------------------------- */
.dubay-theme-dropdown {
    position: relative;
    display: inline-block;
}
.dubay-theme-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    min-width: 13rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
    z-index: 1000;
    padding: 0.375rem;
}
.dubay-theme-dropdown.open .dubay-theme-menu {
    display: block;
}
.dubay-theme-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    text-align: left;
    transition: all 0.15s ease;
    border: none;
    background: transparent;
    cursor: pointer;
}
.dubay-theme-option:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}
.dubay-theme-option.active {
    background-color: #e0e7ff;
    color: #4338ca;
}
