/* ========================================
   SSPU ALUMNI MANAGEMENT SYSTEM
   GLOBAL DESIGN SYSTEM & COLOR SCHEME
   ======================================== */

/* ===== CSS VARIABLES - CONSISTENT COLORS ===== */
:root {
    /* Primary Colors - Bootstrap Blue */
    --primary-blue: #007bff;
    --primary-blue-dark: #0056b3;
    --primary-blue-darker: #004085;
    --primary-blue-light: #3395ff;
    
    /* Secondary Colors */
    --secondary-cyan: #17a2b8;
    --secondary-cyan-dark: #138496;
    
    /* Neutral Colors */
    --dark-navy: #2c3e50;
    --dark-slate: #1a202c;
    --text-dark: #334155;
    --text-medium: #475569;
    --text-muted: #6c757d;
    --text-light: #94a3b8;
    
    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-lighter: #e9ecef;
    --bg-slate: #f1f5f9;
    --bg-slate-light: #e2e8f0;
    
    /* Border Colors */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    --border-blue: #3b82f6;
    
    /* Shadow Colors */
    --shadow-blue-light: rgba(0, 123, 255, 0.1);
    --shadow-blue-medium: rgba(0, 123, 255, 0.15);
    --shadow-blue-strong: rgba(0, 123, 255, 0.3);
    --shadow-dark-light: rgba(0, 0, 0, 0.05);
    --shadow-dark-medium: rgba(0, 0, 0, 0.1);
    --shadow-dark-strong: rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --font-primary: 'Inter', 'Segoe UI', sans-serif;
    --font-secondary: 'Merriweather', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 15px;
    --radius-xl: 20px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== GLOBAL RESETS ===== */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

/* ===== CONSISTENT GRADIENTS ===== */
.gradient-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
}

.gradient-primary-overlay {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.95), rgba(0, 86, 179, 0.95));
}

.gradient-primary-overlay-strong {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.98), rgba(0, 86, 179, 0.98));
}

.gradient-light {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
}

.gradient-white {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

/* ===== CONSISTENT BUTTONS ===== */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px var(--shadow-blue-strong);
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue-darker));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-blue-strong);
    color: white;
}

.btn-secondary-custom {
    background: linear-gradient(135deg, var(--secondary-cyan), var(--secondary-cyan-dark));
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.btn-secondary-custom:hover {
    background: linear-gradient(135deg, var(--secondary-cyan-dark), #0f6674);
    transform: translateY(-2px);
    color: white;
}

/* ===== CONSISTENT CARDS ===== */
.card-custom {
    background: var(--bg-white);
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 15px var(--shadow-dark-medium);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-dark-strong);
}

.card-header-custom {
    background: linear-gradient(135deg, var(--bg-light), var(--bg-lighter));
    border-bottom: 1px solid var(--border-light);
    padding: 1.25rem 1.5rem;
}

/* ===== CONSISTENT PAGE HEADERS ===== */
.page-header-custom {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px var(--shadow-blue-medium);
}

.page-header-custom h2 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.page-header-custom p {
    opacity: 0.9;
    margin: 0;
    font-size: 1.1rem;
}

/* ===== CONSISTENT HERO SECTIONS ===== */
.hero-section-custom {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: white;
    padding: 4rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 25px var(--shadow-blue-medium);
}

.hero-section-custom h1,
.hero-section-custom h2 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section-custom p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* ===== CONSISTENT SECTION HEADERS ===== */
.section-header-custom {
    display: flex;
    align-items: center;
    margin: 3rem 0 2rem 0;
    position: relative;
}

.section-header-custom::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), transparent);
    margin-left: 1.5rem;
}

.section-header-custom h3 {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.section-header-custom i {
    color: var(--primary-blue);
    margin-right: 1rem;
    font-size: 1.75rem;
}

/* ===== CONSISTENT TABLE STYLING ===== */
.table-custom {
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-dark-light);
}

.table-custom thead th {
    background: var(--bg-slate) !important;
    color: var(--text-dark) !important;
    border: none !important;
    border-bottom: 3px solid var(--border-blue) !important;
    border-top: 1px solid var(--border-light) !important;
    font-weight: 600 !important;
    padding: 1rem !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.025em !important;
    box-shadow: 0 1px 3px var(--shadow-dark-light) !important;
    transition: background-color var(--transition-fast) !important;
}

.table-custom thead th:hover {
    background: var(--bg-slate-light) !important;
    color: var(--dark-slate) !important;
}

.table-custom tbody td {
    vertical-align: middle;
    padding: 1rem;
    border-bottom: 1px solid var(--bg-lighter);
}

.table-custom tbody tr:hover {
    background: var(--bg-light);
}

/* ===== CONSISTENT FORM INPUTS ===== */
.form-control-custom {
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.form-control-custom:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px var(--shadow-blue-light);
    outline: none;
}

/* ===== CONSISTENT BADGES ===== */
.badge-custom-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.badge-custom-secondary {
    background: linear-gradient(135deg, var(--secondary-cyan), var(--secondary-cyan-dark));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

/* ===== CONSISTENT ICONS ===== */
.icon-primary {
    color: var(--primary-blue);
}

.icon-secondary {
    color: var(--secondary-cyan);
}

.icon-muted {
    color: var(--text-muted);
}

/* ===== CONSISTENT SHADOWS ===== */
.shadow-light {
    box-shadow: 0 2px 8px var(--shadow-dark-light);
}

.shadow-medium {
    box-shadow: 0 4px 15px var(--shadow-dark-medium);
}

.shadow-strong {
    box-shadow: 0 8px 25px var(--shadow-dark-strong);
}

.shadow-blue {
    box-shadow: 0 4px 15px var(--shadow-blue-strong);
}

/* ===== CONSISTENT DIVIDERS ===== */
.divider-custom {
    height: 1px;
    background: linear-gradient(90deg, transparent 20%, var(--shadow-blue-medium) 50%, transparent 80%);
    margin: 2rem 0;
}

/* ===== CONSISTENT ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 768px) {
    .page-header-custom h2 {
        font-size: 1.5rem;
    }
    
    .section-header-custom h3 {
        font-size: 1.5rem;
    }
    
    .hero-section-custom {
        padding: 2rem 1rem;
    }
}

@media (max-width: 576px) {
    .page-header-custom h2 {
        font-size: 1.35rem;
    }
    
    .section-header-custom h3 {
        font-size: 1.25rem;
    }
}
