/*
 * Seafoam Green Theme
 * Clean, professional healthcare-focused design
 * Primary: #20B2AA (Light Sea Green / Seafoam)
 */

:root[data-theme="seafoam"] {
    /* ═══════════════════════════════════════════════════════════════
       PRIMARY COLOR PALETTE
       ═══════════════════════════════════════════════════════════════ */
    --theme-primary: #20B2AA;
    --theme-primary-dark: #1A9A93;
    --theme-primary-light: #3CC9C1;
    --theme-primary-gradient: linear-gradient(135deg, #20B2AA 0%, #3CC9C1 100%);

    /* Secondary (Complementary Teal) */
    --theme-secondary: #48D1CC;
    --theme-secondary-dark: #3BBFBA;
    --theme-secondary-light: #66E0DC;

    /* ═══════════════════════════════════════════════════════════════
       TEXT COLORS
       ═══════════════════════════════════════════════════════════════ */
    --theme-text-primary: #1F2937;
    --theme-text-secondary: #4B5563;
    --theme-text-muted: #9CA3AF;
    --theme-text-inverse: #FFFFFF;

    /* ═══════════════════════════════════════════════════════════════
       BACKGROUND COLORS
       ═══════════════════════════════════════════════════════════════ */
    --theme-bg-primary: #FFFFFF;
    --theme-bg-secondary: #F9FAFB;
    --theme-bg-accent: #E6F7F6;
    --theme-bg-hero: linear-gradient(180deg, #E6F7F6 0%, #FFFFFF 100%);

    /* ═══════════════════════════════════════════════════════════════
       NAVIGATION
       ═══════════════════════════════════════════════════════════════ */
    --theme-nav-bg: linear-gradient(135deg, #20B2AA 0%, #1A9A93 100%);
    --theme-nav-text: #FFFFFF;
    --theme-nav-hover: rgba(255, 255, 255, 0.15);
    --theme-nav-border: #E5E7EB;
    --theme-nav-height: 60px;

    /* ═══════════════════════════════════════════════════════════════
       FOOTER
       ═══════════════════════════════════════════════════════════════ */
    --theme-footer-bg: linear-gradient(135deg, #1A9A93 0%, #20B2AA 100%);
    --theme-footer-text: #FFFFFF;

    /* ═══════════════════════════════════════════════════════════════
       CARDS & COMPONENTS
       ═══════════════════════════════════════════════════════════════ */
    --theme-card-bg: #FFFFFF;
    --theme-card-border: #E5E7EB;
    --theme-card-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --theme-card-shadow-hover: 0 4px 12px rgba(32, 178, 170, 0.15);

    /* ═══════════════════════════════════════════════════════════════
       BUTTONS - PRIMARY
       ═══════════════════════════════════════════════════════════════ */
    --theme-btn-primary-bg: #20B2AA;
    --theme-btn-primary-text: #FFFFFF;
    --theme-btn-primary-hover: #1A9A93;

    /* BUTTONS - SECONDARY */
    --theme-btn-secondary-bg: #FFFFFF;
    --theme-btn-secondary-text: #20B2AA;
    --theme-btn-secondary-border: #20B2AA;

    /* ═══════════════════════════════════════════════════════════════
       STATUS COLORS
       ═══════════════════════════════════════════════════════════════ */
    --theme-success: #10B981;
    --theme-success-dark: #059669;
    --theme-success-light: #34D399;
    --theme-warning: #F59E0B;
    --theme-warning-dark: #D97706;
    --theme-warning-light: #FBBF24;
    --theme-danger: #EF4444;
    --theme-danger-dark: #DC2626;
    --theme-danger-light: #F87171;

    /* STATUS BUTTONS */
    --theme-btn-success-bg: #10B981;
    --theme-btn-success-text: #FFFFFF;
    --theme-btn-success-hover: #059669;
    --theme-btn-warning-bg: #F59E0B;
    --theme-btn-warning-text: #1F2937;
    --theme-btn-warning-hover: #D97706;
    --theme-btn-danger-bg: #EF4444;
    --theme-btn-danger-text: #FFFFFF;
    --theme-btn-danger-hover: #DC2626;

    /* ═══════════════════════════════════════════════════════════════
       ICONS & FEATURES
       ═══════════════════════════════════════════════════════════════ */
    --theme-icon-bg: #E6F7F6;
    --theme-icon-color: #20B2AA;
    --theme-checkmark-color: #10B981;

    /* ═══════════════════════════════════════════════════════════════
       BORDERS & SPACING
       ═══════════════════════════════════════════════════════════════ */
    --theme-border-color: #E5E7EB;
    --theme-border-radius: 8px;
    --theme-border-radius-sm: 6px;
    --theme-border-radius-lg: 12px;

    /* Spacing */
    --theme-spacing-xs: 0.25rem;
    --theme-spacing-sm: 0.5rem;
    --theme-spacing-md: 1rem;
    --theme-spacing-lg: 1.5rem;
    --theme-spacing-xl: 2rem;
    --theme-spacing-2xl: 3rem;
    --theme-spacing-3xl: 4rem;

    /* ═══════════════════════════════════════════════════════════════
       TYPOGRAPHY
       ═══════════════════════════════════════════════════════════════ */
    --theme-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --theme-font-size-xs: 0.75rem;
    --theme-font-size-sm: 0.875rem;
    --theme-font-size-base: 1rem;
    --theme-font-size-lg: 1.125rem;
    --theme-font-size-xl: 1.5rem;
    --theme-font-size-2xl: 2rem;
    --theme-font-size-3xl: 2.5rem;

    /* ═══════════════════════════════════════════════════════════════
       TRANSITIONS & SHADOWS
       ═══════════════════════════════════════════════════════════════ */
    --theme-transition-fast: 0.15s ease;
    --theme-transition-base: 0.2s ease;
    --theme-transition-slow: 0.3s ease;

    --theme-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --theme-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --theme-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --theme-shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* ═══════════════════════════════════════════════════════════════════════
   BOOTSTRAP BUTTON OVERRIDES
   ═══════════════════════════════════════════════════════════════════════ */

/* Primary Buttons */
:root[data-theme="seafoam"] .btn-primary {
    background-color: #20B2AA !important;
    border-color: #20B2AA !important;
    color: #FFFFFF !important;
}

:root[data-theme="seafoam"] .btn-primary:hover,
:root[data-theme="seafoam"] .btn-primary:focus {
    background-color: #1A9A93 !important;
    border-color: #1A9A93 !important;
}

/* Secondary Buttons */
:root[data-theme="seafoam"] .btn-secondary {
    background-color: #6B7280 !important;
    border-color: #6B7280 !important;
    color: #FFFFFF !important;
}

:root[data-theme="seafoam"] .btn-secondary:hover,
:root[data-theme="seafoam"] .btn-secondary:focus {
    background-color: #4B5563 !important;
    border-color: #4B5563 !important;
}

/* Outline Primary */
:root[data-theme="seafoam"] .btn-outline-primary {
    color: #20B2AA !important;
    border-color: #20B2AA !important;
    background-color: transparent !important;
}

:root[data-theme="seafoam"] .btn-outline-primary:hover,
:root[data-theme="seafoam"] .btn-outline-primary:focus {
    background-color: #20B2AA !important;
    border-color: #20B2AA !important;
    color: #FFFFFF !important;
}

/* Outline Secondary */
:root[data-theme="seafoam"] .btn-outline-secondary {
    color: #4B5563 !important;
    border-color: #9CA3AF !important;
    background-color: transparent !important;
}

:root[data-theme="seafoam"] .btn-outline-secondary:hover,
:root[data-theme="seafoam"] .btn-outline-secondary:focus {
    background-color: #4B5563 !important;
    border-color: #4B5563 !important;
    color: #FFFFFF !important;
}

/* Outline Danger */
:root[data-theme="seafoam"] .btn-outline-danger {
    color: #EF4444 !important;
    border-color: #EF4444 !important;
    background-color: transparent !important;
}

:root[data-theme="seafoam"] .btn-outline-danger:hover,
:root[data-theme="seafoam"] .btn-outline-danger:focus {
    background-color: #EF4444 !important;
    border-color: #EF4444 !important;
    color: #FFFFFF !important;
}

/* Outline Success */
:root[data-theme="seafoam"] .btn-outline-success {
    color: #10B981 !important;
    border-color: #10B981 !important;
    background-color: transparent !important;
}

:root[data-theme="seafoam"] .btn-outline-success:hover,
:root[data-theme="seafoam"] .btn-outline-success:focus {
    background-color: #10B981 !important;
    border-color: #10B981 !important;
    color: #FFFFFF !important;
}

/* Outline Warning */
:root[data-theme="seafoam"] .btn-outline-warning {
    color: #D97706 !important;
    border-color: #F59E0B !important;
    background-color: transparent !important;
}

:root[data-theme="seafoam"] .btn-outline-warning:hover,
:root[data-theme="seafoam"] .btn-outline-warning:focus {
    background-color: #F59E0B !important;
    border-color: #F59E0B !important;
    color: #1F2937 !important;
}

/* Outline Info */
:root[data-theme="seafoam"] .btn-outline-info {
    color: #20B2AA !important;
    border-color: #20B2AA !important;
    background-color: transparent !important;
}

:root[data-theme="seafoam"] .btn-outline-info:hover,
:root[data-theme="seafoam"] .btn-outline-info:focus {
    background-color: #20B2AA !important;
    border-color: #20B2AA !important;
    color: #FFFFFF !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   NAVIGATION OVERRIDES
   ═══════════════════════════════════════════════════════════════════════ */

:root[data-theme="seafoam"] .theme-nav {
    box-shadow: 0 2px 4px rgba(32, 178, 170, 0.15);
}

:root[data-theme="seafoam"] .theme-nav a,
:root[data-theme="seafoam"] .theme-nav .nav-link,
:root[data-theme="seafoam"] .navbar a,
:root[data-theme="seafoam"] nav a {
    color: #FFFFFF !important;
}

:root[data-theme="seafoam"] .theme-nav a:hover,
:root[data-theme="seafoam"] .theme-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #FFFFFF !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   LINK STYLING
   ═══════════════════════════════════════════════════════════════════════ */

:root[data-theme="seafoam"] a:not(.btn):not(.nav-link):not(.navbar-brand):not([class*="btn-"]) {
    color: #20B2AA;
}

:root[data-theme="seafoam"] a:not(.btn):not(.nav-link):not(.navbar-brand):not([class*="btn-"]):hover {
    color: #1A9A93;
}

/* ═══════════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════════ */

:root[data-theme="seafoam"] .hero-highlight,
:root[data-theme="seafoam"] .theme-hero-title {
    background: linear-gradient(135deg, #20B2AA 0%, #3CC9C1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

:root[data-theme="seafoam"] .btn-hero-primary,
:root[data-theme="seafoam"] .btn-cta-primary {
    background: #20B2AA !important;
    color: #FFFFFF !important;
}

:root[data-theme="seafoam"] .btn-hero-primary:hover,
:root[data-theme="seafoam"] .btn-cta-primary:hover {
    background: #1A9A93 !important;
    color: #FFFFFF !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════════════════════════════════════════ */

:root[data-theme="seafoam"] .breadcrumb {
    background-color: transparent;
}

:root[data-theme="seafoam"] .breadcrumb-item a {
    color: #4B5563 !important;
}

:root[data-theme="seafoam"] .breadcrumb-item a:hover {
    color: #20B2AA !important;
}

:root[data-theme="seafoam"] .breadcrumb-item.active {
    color: #1F2937 !important;
}

:root[data-theme="seafoam"] .breadcrumb-item + .breadcrumb-item::before {
    color: #9CA3AF;
}

/* ═══════════════════════════════════════════════════════════════════════
   TABLES
   ═══════════════════════════════════════════════════════════════════════ */

:root[data-theme="seafoam"] .table th {
    background-color: #F9FAFB;
    border-color: #E5E7EB;
    color: #1F2937;
}

:root[data-theme="seafoam"] .table-hover tbody tr:hover {
    background-color: #E6F7F6;
}

/* ═══════════════════════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════════════════════ */

:root[data-theme="seafoam"] input:focus,
:root[data-theme="seafoam"] select:focus,
:root[data-theme="seafoam"] textarea:focus,
:root[data-theme="seafoam"] .form-control:focus {
    border-color: #20B2AA;
    box-shadow: 0 0 0 3px rgba(32, 178, 170, 0.15);
}

/* ═══════════════════════════════════════════════════════════════════════
   BADGES
   ═══════════════════════════════════════════════════════════════════════ */

:root[data-theme="seafoam"] .badge.bg-primary,
:root[data-theme="seafoam"] .badge-primary {
    background-color: #20B2AA !important;
    color: #FFFFFF !important;
}

:root[data-theme="seafoam"] .badge.bg-secondary,
:root[data-theme="seafoam"] .badge-secondary {
    background-color: #6B7280 !important;
    color: #FFFFFF !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   ALERTS
   ═══════════════════════════════════════════════════════════════════════ */

:root[data-theme="seafoam"] .alert-info {
    background-color: #E6F7F6;
    border-color: #20B2AA;
    color: #1A9A93;
}

:root[data-theme="seafoam"] .alert-success {
    background-color: #ECFDF5;
    border-color: #10B981;
    color: #059669;
}

/* ═══════════════════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════════════════ */

:root[data-theme="seafoam"] .theme-card:hover,
:root[data-theme="seafoam"] .card:hover {
    border-color: #20B2AA;
}

/* ═══════════════════════════════════════════════════════════════════════
   SCROLLBARS (WebKit)
   ═══════════════════════════════════════════════════════════════════════ */

:root[data-theme="seafoam"] ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

:root[data-theme="seafoam"] ::-webkit-scrollbar-track {
    background: #F3F4F6;
}

:root[data-theme="seafoam"] ::-webkit-scrollbar-thumb {
    background: #20B2AA;
    border-radius: 4px;
}

:root[data-theme="seafoam"] ::-webkit-scrollbar-thumb:hover {
    background: #1A9A93;
}

/* ═══════════════════════════════════════════════════════════════════════
   SELECTION
   ═══════════════════════════════════════════════════════════════════════ */

:root[data-theme="seafoam"] ::selection {
    background-color: rgba(32, 178, 170, 0.2);
    color: #1F2937;
}

/* ═══════════════════════════════════════════════════════════════════════
   PROGRESS BARS
   ═══════════════════════════════════════════════════════════════════════ */

:root[data-theme="seafoam"] .progress-bar {
    background-color: #20B2AA;
}
