/* --- GLOBAL DESIGN SYSTEM --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --mahindra-red: #dc2626;
    --mahindra-red-dark: #b91c1c;
    --slate-primary: #0f172a;
    --slate-secondary: #1e293b;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8fafc;
    color: #1e293b;
}

/* --- SIDEBAR & NAV LOGIC --- */
.sidebar {
    background-color: var(--slate-primary);
    color: white;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: #94a3b8;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    margin-bottom: 4px;
}

.nav-link:hover {
    background-color: var(--slate-secondary);
    color: white;
}

.nav-link.active {
    background-color: var(--mahindra-red);
    color: white;
}

/* --- PORTAL CARD STYLING --- */
.portal-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.portal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--mahindra-red);
}

/* --- SCROLLBAR UTILITY --- */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
/* --- SECURITY OVERLAY --- */
#disclaimerOverlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.98); /* Deep Slate */
    backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.disclaimer-card {
    background: white;
    max-width: 500px;
    width: 100%;
    border-radius: 2.5rem;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.disclaimer-icon {
    width: 90px;
    height: 90px;
    background: #fef2f2;
    color: #dc2626;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
}

#agreeBtn {
    width: 100%;
    background: #0f172a;
    color: white;
    font-weight: 800;
    padding: 1.25rem;
    border-radius: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

#agreeBtn:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

/* --- REGIONAL CLOCK CARDS --- */
.clock-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.clock-card {
    background: white;
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #e2e8f0;
    transition: all 0.3s ease;
}

.clock-card:hover {
    border-left-color: #dc2626;
    transform: translateY(-2px);
}

.clock-label {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.clock-time {
    font-family: monospace;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}
/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 1024px) {
    #mainSidebar {
        box-shadow: 20px 0 50px rgba(0,0,0,0.5);
    }
    
    /* Ensure cards stack on mobile */
    .grid {
        grid-template-columns: 1fr !important;
    }
    
    .p-8, .p-12 {
        padding: 1.5rem !important;
    }
}

/* Touch targets for mobile */
@media (pointer: coarse) {
    .nav-link, .portal-card, button {
        min-height: 44px;
    }
}
