/**
 * Edusmart Website - Standalone CSS
 * 
 * Modern, minimal, and classy design for the seniority website.
 * Bootstrap 5 is loaded via CDN.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');


:root {
    /* Elegant minimal color palette */
    --primary-color: #1a1a2e;
    --primary-hover: #16213e;
    --accent-color: #0f3460;
    --accent-light: #e7ecef;
    --text-dark: #1a1a2e;
    --text-muted: #6b7280;
    --bg-light: #fafbfc;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Badge soft colors */
.bg-soft-primary {
    background-color: rgba(26, 26, 46, 0.08) !important;
    color: var(--primary-color) !important;
}

.bg-soft-success {
    background-color: rgba(16, 185, 129, 0.1) !important;
    color: #059669 !important;
}

.bg-soft-warning {
    background-color: rgba(245, 158, 11, 0.1) !important;
    color: #d97706 !important;
}

/* Card enhancements */
.card {
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}

.card.border-0 {
    box-shadow: var(--shadow-sm);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-body {
    padding: 1.5rem;
}

.card-header {
    border-bottom: 1px solid var(--border-color);
    background: transparent;
    padding: 1rem 1.5rem;
}

/* Button enhancements */
.btn {
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all var(--transition-fast);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.btn-outline-secondary {
    color: var(--text-muted);
    border-color: var(--border-color);
}

.btn-outline-secondary:hover {
    background-color: var(--accent-light);
    border-color: var(--border-color);
    color: var(--text-dark);
}

/* Navigation styles */
.navbar-brand {
    font-weight: 600;
    color: var(--text-dark);
}

.navbar {
    background: var(--bg-white) !important;
    border-bottom: 1px solid var(--border-color);
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Form styles */
.form-control {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.1);
}

.form-control-lg {
    font-size: 1rem;
    padding: 0.875rem 1.25rem;
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Card header styles */
.card-header.bg-primary {
    border-radius: 11px 11px 0 0 !important;
    background: var(--primary-color) !important;
}

/* List group styles */
.list-group-flush .list-group-item {
    border-color: var(--border-color);
    padding: 1rem 1.5rem;
}

.list-group-flush .list-group-item:last-child {
    border-bottom: 0;
}

/* Stats cards */
.display-4 {
    font-weight: 700;
    color: var(--primary-color);
}

/* Footer styles */
footer {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    background: var(--bg-white);
}

footer a {
    transition: color var(--transition-fast);
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Utility classes */
.min-vh-100 {
    min-height: 100vh;
}

.gap-2 {
    gap: 0.5rem !important;
}

.gap-3 {
    gap: 1rem !important;
}

.gap-4 {
    gap: 1.5rem !important;
}

/* Icons placeholder (feather icons not loaded in standalone) */
.bi {
    display: inline-block;
    width: 1em;
    height: 1em;
}

/* Alert styles */
.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.25rem;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #047857;
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.1);
    color: #b45309;
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.alert-info {
    background-color: rgba(59, 130, 246, 0.1);
    color: #1d4ed8;
}

/* Badge styles */
.badge {
    font-weight: 500;
    padding: 0.5em 0.85em;
    border-radius: 6px;
}

.badge.bg-success {
    background-color: #059669 !important;
}

.badge.bg-warning {
    background-color: #d97706 !important;
    color: #fff !important;
}

.badge.bg-primary {
    background-color: var(--primary-color) !important;
}

/* OTP input styling */
input[inputmode="numeric"] {
    letter-spacing: 0.5em;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Logo styling */
.site-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.site-logo-sm {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.site-logo-lg {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* Header styling */
.site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

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

/* Section styling */
section {
    padding: 4rem 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .btn-lg {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .site-logo {
        height: 36px;
    }
}

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

/* Selection color */
::selection {
    background: var(--accent-color);
    color: var(--bg-white);
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}
