/* ============================================
   DETAIL-STYLES.CSS - SUPER MODERN & TERKONSEP
   MADRASAH ALIYAH NEGERI 1 BOJONEGORO
   Design System v2.0
   ============================================ */

/* ===== DESIGN SYSTEM VARIABLES ===== */
:root {
    /* Brand Identity - Madrasah Islami */
    --brand-primary: #1a5f7a;      /* Biru Madrasah - Kebijaksanaan */
    --brand-secondary: #2ecc71;    /* Hijau Islami - Kesucian */
    --brand-accent: #ff6b35;       /* Oranye Enerjik - Semangat */
    --brand-dark: #2c3e50;         /* Abu-abu gelap - Stabilitas */
    --brand-light: #57c1e8;        /* Biru muda - Kecerahan */
    
    /* Semantic Colors */
    --success: #27ae60;           /* Hijau sukses */
    --warning: #f39c12;           /* Kuning peringatan */
    --danger: #e74c3c;            /* Merah bahaya */
    --info: #3498db;              /* Biru informasi */
    
    /* Neutral Palette */
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #e9ecef;
    --gray-200: #dee2e6;
    --gray-300: #ced4da;
    --gray-400: #adb5bd;
    --gray-500: #6c757d;
    --gray-600: #495057;
    --gray-700: #343a40;
    --gray-800: #212529;
    --black: #000000;
    
    /* Gradient System */
    --gradient-primary: linear-gradient(135deg, var(--brand-primary), var(--brand-light));
    --gradient-success: linear-gradient(135deg, var(--success), #2ecc71);
    --gradient-warning: linear-gradient(135deg, var(--warning), #e67e22);
    --gradient-accent: linear-gradient(135deg, var(--brand-accent), #ff9f43);
    --gradient-dark: linear-gradient(135deg, var(--brand-dark), #34495e);
    --gradient-islamic: linear-gradient(135deg, #145a32, #27ae60, #2ecc71);
    
    /* Shadow System */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.2);
    --shadow-primary: 0 10px 30px rgba(26, 95, 122, 0.3);
    --shadow-success: 0 10px 30px rgba(39, 174, 96, 0.3);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Typography Scale */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px */
    --text-6xl: 3.75rem;   /* 60px */
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Z-index Layers */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    
    /* Container Widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1400px;
}

/* ===== RESET & BASE STYLES ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--gray-700);
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    min-height: 100vh;
    overflow-x: hidden;
    font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection Color */
::selection {
    background-color: rgba(26, 95, 122, 0.2);
    color: var(--brand-primary);
}

/* ===== TYPOGRAPHY SYSTEM ===== */
h1, .h1 {
    font-size: var(--text-5xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-6);
    color: var(--brand-dark);
    position: relative;
    letter-spacing: -0.025em;
}

h1.with-gradient {
    background: var(--gradient-islamic);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2, .h2 {
    font-size: var(--text-4xl);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-5);
    color: var(--brand-dark);
}

h3, .h3 {
    font-size: var(--text-3xl);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: var(--space-4);
    color: var(--brand-primary);
}

h4, .h4 {
    font-size: var(--text-2xl);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: var(--space-3);
    color: var(--gray-700);
}

h5, .h5 {
    font-size: var(--text-xl);
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: var(--space-2);
    color: var(--gray-700);
}

h6, .h6 {
    font-size: var(--text-lg);
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: var(--space-2);
    color: var(--gray-600);
}

p {
    margin-bottom: var(--space-4);
    color: var(--gray-600);
    line-height: 1.8;
}

.lead {
    font-size: var(--text-xl);
    font-weight: 300;
    color: var(--gray-500);
    line-height: 1.7;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-gradient-success {
    background: var(--gradient-success);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ===== LAYOUT COMPONENTS ===== */
.container {
    width: 100%;
    max-width: var(--container-2xl);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-4);
    }
}

.section {
    padding: var(--space-20) 0;
    position: relative;
}

.section-sm {
    padding: var(--space-12) 0;
}

.section-lg {
    padding: var(--space-24) 0;
}

.section-xl {
    padding: calc(var(--space-24) * 1.5) 0;
}

/* ===== BREADCRUMB SYSTEM ===== */
.breadcrumb-section {
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.05) 0%, rgba(87, 193, 232, 0.05) 100%);
    padding: var(--space-8) 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(26, 95, 122, 0.1);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--gray-500);
}

.breadcrumb-item a {
    color: var(--brand-primary);
    text-decoration: none;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.breadcrumb-item a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: -1;
}

.breadcrumb-item a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.breadcrumb-item a:hover::before {
    opacity: 1;
}

.breadcrumb-item.active a {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-primary);
    font-weight: 600;
}

.breadcrumb-separator {
    color: var(--gray-400);
    font-size: var(--text-xs);
}

/* ===== CARD SYSTEM ===== */
.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--space-8);
    transition: all var(--transition-bounce);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-islamic);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card:hover::before {
    opacity: 1;
}

.card-header {
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--gray-100);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    color: var(--white);
    font-size: var(--text-2xl);
    box-shadow: var(--shadow-primary);
}

.card-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: var(--space-2);
}

.card-subtitle {
    font-size: var(--text-sm);
    color: var(--gray-500);
    font-weight: 500;
}

/* Grid Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

/* ===== BUTTON SYSTEM ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-bounce);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: -1;
}

.btn:hover::before {
    opacity: 1;
}

.btn:active {
    transform: scale(0.98);
}

/* Button Variants */
.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.btn-primary::before {
    background: linear-gradient(135deg, var(--brand-light), var(--brand-primary));
}

.btn-success {
    background: var(--gradient-success);
    color: var(--white);
    box-shadow: var(--shadow-success);
}

.btn-outline {
    background: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
}

.btn-outline:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

.btn-ghost {
    background: transparent;
    color: var(--gray-600);
    border: 2px solid transparent;
}

.btn-ghost:hover {
    background: rgba(26, 95, 122, 0.1);
    color: var(--brand-primary);
}

/* Button Sizes */
.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

.btn-lg {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-lg);
}

.btn-xl {
    padding: var(--space-6) var(--space-12);
    font-size: var(--text-xl);
}

/* ===== FORM SYSTEM ===== */
.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 600;
    color: var(--gray-700);
    font-size: var(--text-sm);
}

.form-control {
    width: 100%;
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-base);
    line-height: 1.5;
    color: var(--gray-700);
    background-color: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    outline: none;
}

.form-control:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}

/* Input with Icon */
.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: var(--space-6);
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
}

.input-icon-left {
    padding-left: calc(var(--space-6) * 2 + 8px);
}

.input-icon-right {
    padding-right: calc(var(--space-6) * 2 + 8px);
}

/* ===== TABLE SYSTEM ===== */
.table-container {
    overflow-x: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin: var(--space-8) 0;
}

.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.table thead {
    background: var(--gradient-primary);
}

.table th {
    padding: var(--space-6) var(--space-4);
    text-align: left;
    color: var(--white);
    font-weight: 600;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: none;
}

.table tbody tr {
    transition: all var(--transition-base);
}

.table tbody tr:hover {
    background-color: rgba(26, 95, 122, 0.05);
    transform: scale(1.01);
}

.table td {
    padding: var(--space-5) var(--space-4);
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
    font-size: var(--text-sm);
}

.table td:first-child {
    font-weight: 600;
    color: var(--brand-primary);
}

/* ===== BADGE SYSTEM ===== */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: 700;
    line-height: 1;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.badge-success {
    background: var(--gradient-success);
    color: var(--white);
}

.badge-warning {
    background: var(--gradient-warning);
    color: var(--white);
}

.badge-accent {
    background: var(--gradient-accent);
    color: var(--white);
}

/* ===== ALERT SYSTEM ===== */
.alert {
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
    position: relative;
    overflow: hidden;
}

.alert::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: currentColor;
    opacity: 0.3;
}

.alert-success {
    background-color: rgba(39, 174, 96, 0.1);
    color: var(--success);
}

.alert-warning {
    background-color: rgba(243, 156, 18, 0.1);
    color: var(--warning);
}

.alert-danger {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--danger);
}

.alert-info {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--info);
}

/* ===== ACCORDION SYSTEM ===== */
.accordion {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.accordion-item {
    border-bottom: 1px solid var(--gray-100);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    padding: var(--space-6);
    background: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-base);
}

.accordion-header:hover {
    background: var(--gray-50);
}

.accordion-header h3 {
    margin: 0;
    font-size: var(--text-lg);
    color: var(--gray-800);
}

.accordion-icon {
    transition: transform var(--transition-base);
    color: var(--brand-primary);
}

.accordion-icon.active {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 var(--space-6);
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-base);
}

.accordion-content.active {
    padding: var(--space-6);
    max-height: 500px;
}

/* ===== STATS SYSTEM ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
    margin: var(--space-12) 0;
}

.stat-card {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    color: var(--white);
    font-size: var(--text-2xl);
}

.stat-number {
    display: block;
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
    margin-bottom: var(--space-2);
    font-feature-settings: 'tnum' 1;
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--gray-600);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
    margin: var(--space-8) 0;
}

.feature-card {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-bounce);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-islamic);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    color: var(--white);
    font-size: var(--text-2xl);
    transform: rotate(-5deg);
    transition: all var(--transition-bounce);
}

.feature-card:hover .feature-icon {
    transform: rotate(0deg) scale(1.1);
}

.feature-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
    color: var(--brand-dark);
}

.feature-card p {
    color: var(--gray-600);
    font-size: var(--text-sm);
    line-height: 1.6;
}

/* ===== FILTER SYSTEM ===== */
.filter-group {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin: var(--space-8) 0;
    justify-content: center;
}

.filter-btn {
    padding: var(--space-3) var(--space-6);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

/* ===== LOADING SYSTEM ===== */
.loading {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--brand-primary);
    font-weight: 500;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(26, 95, 122, 0.2);
    border-top-color: var(--brand-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== ANIMATION SYSTEM ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slide-right {
    animation: slideInRight 0.6s ease-out;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 768px) {
    .mobile-hidden {
        display: none;
    }
    
    .mobile-stack {
        flex-direction: column;
    }
    
    .section {
        padding: var(--space-12) 0;
    }
    
    h1 {
        font-size: var(--text-3xl);
    }
    
    h2 {
        font-size: var(--text-2xl);
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }
    
    .btn {
        width: 100%;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-btn {
        width: 100%;
    }
}

/* ===== ISLAMIC DECORATIVE ELEMENTS ===== */
.arabic-pattern {
    position: absolute;
    pointer-events: none;
    opacity: 0.03;
    z-index: -1;
}

.star-and-crescent {
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 215, 0, 0.1) 0%, 
        transparent 50%),
        radial-gradient(circle at 70% 70%, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 50%);
}

.islamic-border {
    border: 2px solid transparent;
    border-image: linear-gradient(45deg, #1a5f7a, #27ae60, #ff6b35) 1;
    border-radius: var(--radius-lg);
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 800; }

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.w-full { width: 100%; }
.h-full { height: 100%; }

.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

.bg-white { background-color: var(--white); }
.bg-gray-50 { background-color: var(--gray-50); }
.bg-gray-100 { background-color: var(--gray-100); }
.bg-primary { background-color: var(--brand-primary); }
.bg-success { background-color: var(--success); }

.text-white { color: var(--white); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-primary { color: var(--brand-primary); }
.text-success { color: var(--success); }

.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

.transition-fast { transition: var(--transition-fast); }
.transition-base { transition: var(--transition-base); }
.transition-slow { transition: var(--transition-slow); }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

.overflow-hidden { overflow: hidden; }
.overflow-visible { overflow: visible; }
.overflow-auto { overflow: auto; }

/* ===== PRINT STYLES ===== */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

      .detail-page-title {
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.detail-page-subtitle {
    color: white;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}

.detail-breadcrumb a,
.detail-breadcrumb span,
.detail-breadcrumb i {
    color: white;
}