/**
 * style.css - Executive White Theme (Wall Street Suite)
 * Fully optimized for Android & iOS Mobile Devices and Desktop
 * IB Recruiting Tracker - Flat Directory Architecture
 */

:root {
    --bg-main: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-subtle: #F8FAFC;
    --bg-hover: #F1F5F9;
    --border-color: #E2E8F0;
    --border-subtle: #CBD5E1;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --gold-primary: #B45309;
    --gold-accent: #D97706;
    --gold-light: #FEF3C7;
    --navy-primary: #1E3A8A;
    --navy-dark: #0F172A;
    --emerald-primary: #059669;
    --emerald-light: #ECFDF5;
    --rose-primary: #E11D48;
    --rose-light: #FFF1F2;
}

body {
    background-color: #F8FAFC;
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

/* Touch Momentum Scrolling for iOS & Android */
.touch-scroll, .overflow-x-auto, .overflow-y-auto {
    -webkit-overflow-scrolling: touch;
}

/* iOS Safe Areas */
.safe-area-top {
    padding-top: max(1rem, env(safe-area-inset-top));
}
.safe-area-bottom {
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
}

/* Styled Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* Brand Monogram & Crest */
.brand-crest {
    background: linear-gradient(135deg, #1E3A8A 0%, #0F172A 100%);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

/* Executive White Cards */
.card-white {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
}

.card-white-hover {
    transition: all 0.2s ease-in-out;
}
.card-white-hover:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    border-color: #CBD5E1;
}

/* Navigation Links */
.nav-link {
    display: flex;
    align-items: center;
    padding: 0.65rem 0.85rem;
    border-radius: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.8125rem;
    transition: all 0.15s ease-in-out;
    min-height: 44px; /* Minimum touch target */
}

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

.nav-link.active {
    background-color: #EFF6FF;
    color: var(--navy-primary);
    font-weight: 700;
    border: 1px solid #BFDBFE;
}

.nav-link.locked {
    opacity: 0.45;
    cursor: not-allowed;
    background-color: #F8FAFC;
    color: #94A3B8 !important;
    border: 1px dashed #E2E8F0;
    transition: all 0.2s ease;
}

.nav-link.locked:hover {
    background-color: #F1F5F9;
    color: #64748B !important;
}

/* Button Accents */
.btn-gold {
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
    color: #FFFFFF;
    min-height: 44px;
}
.btn-gold:hover {
    background: linear-gradient(135deg, #B45309 0%, #92400E 100%);
}

.btn-navy {
    background: linear-gradient(135deg, #1E3A8A 0%, #0F172A 100%);
    color: #FFFFFF;
    min-height: 44px;
}
.btn-navy:hover {
    background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 100%);
}

/* 3D Flashcard Perspective & Flips */
.perspective-1000 {
    perspective: 1000px;
}
.transform-style-3d {
    transform-style: preserve-3d;
}
.backface-hidden {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.rotate-y-180 {
    transform: rotateY(180deg);
}

/* Kanban Columns */
.kanban-col {
    min-width: 280px;
    max-width: 340px;
}

@media (max-width: 640px) {
    .kanban-col {
        min-width: 82vw;
    }
}
