/* ==========================================================================
   EduCMS Theme SDK Specification v1.0 — Centralized Design Tokens
   Identity: Framework-Agnostic CSS Variables
   ========================================================================== */

:root {
    /* Brand Colors */
    --theme-primary: #047857;
    --theme-primary-hover: #065f46;
    --theme-primary-light: #ecfdf5;
    --theme-primary-border: #a7f3d0;
    
    --theme-secondary: #064e3b;
    --theme-secondary-dark: #022c22;
    
    --theme-accent: #d97706;
    --theme-accent-hover: #b45309;
    --theme-accent-light: #fef3c7;
    
    /* Surface & Layout */
    --theme-surface: #ffffff;
    --theme-surface-muted: #f8fafc;
    --theme-surface-dark: #022c22;
    --theme-border: #e2e8f0;

    /* Typography & Text */
    --theme-text-main: #0f172a;
    --theme-text-muted: #64748b;
    --theme-link: #047857;
    --theme-link-hover: #065f46;
    --theme-font-sans: 'Plus Jakarta Sans', sans-serif;
    --theme-font-serif: 'Amiri', serif;

    /* Feedback / Status Colors */
    --theme-success: #10b981;
    --theme-warning: #f59e0b;
    --theme-danger: #ef4444;

    /* Radii & Shape Tokens */
    --theme-radius-sm: 0.5rem;
    --theme-radius-md: 0.75rem;
    --theme-radius-lg: 1.5rem;
    --theme-radius-full: 9999px;

    /* Elevation & Shadows */
    --theme-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --theme-shadow-md: 0 4px 6px -1px rgba(4, 120, 87, 0.1), 0 2px 4px -2px rgba(4, 120, 87, 0.05);
    --theme-shadow-lg: 0 10px 15px -3px rgba(4, 120, 87, 0.15), 0 4px 6px -4px rgba(4, 120, 87, 0.05);
}

/* Framework-Agnostic Reusable Components */
.btn-theme-primary {
    background-color: var(--theme-primary);
    color: #ffffff;
    border-radius: var(--theme-radius-md);
    box-shadow: var(--theme-shadow-sm);
    transition: all 0.2s ease-in-out;
}
.btn-theme-primary:hover {
    background-color: var(--theme-primary-hover);
    box-shadow: var(--theme-shadow-md);
}

.btn-theme-accent {
    background-color: var(--theme-accent);
    color: #ffffff;
    border-radius: var(--theme-radius-md);
    box-shadow: var(--theme-shadow-sm);
    transition: all 0.2s ease-in-out;
}
.btn-theme-accent:hover {
    background-color: var(--theme-accent-hover);
    box-shadow: var(--theme-shadow-md);
}

.card-theme {
    background-color: var(--theme-surface);
    border: 1px solid var(--theme-border);
    border-radius: var(--theme-radius-lg);
    box-shadow: var(--theme-shadow-sm);
}

/* Geometric Pattern Backgrounds */
.bg-islamic-pattern {
    background-color: var(--theme-secondary-dark);
    background-image: radial-gradient(#10b981 0.75px, transparent 0.75px), radial-gradient(#10b981 0.75px, var(--theme-secondary-dark) 0.75px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
}

.bg-islamic-pattern-light {
    background-color: var(--theme-surface-muted);
    background-image: radial-gradient(var(--theme-primary) 0.5px, transparent 0.5px);
    background-size: 24px 24px;
}

/* Arch Card Effects & Micro-Animations */
.islamic-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--theme-radius-lg);
}

.islamic-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--theme-shadow-lg);
}


.islamic-glass {
    background: rgba(6, 78, 59, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: var(--theme-primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--theme-primary-hover);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

