/* Khazana Jobs - Executive Workforce Theme (No-Scroll Version) */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

:root {
    --primary-blue: #002b55;    /* Deep Executive Blue */
    --accent-gold: #FFD700;      /* Premium Distinction Gold */
    --bg-white: #ffffff;
    --bg-soft: #f8fafc;         /* Professional Slate Tint */
    --text-dark: #0f172a;        /* High-Contrast Readability */
    --text-muted: #64748b;
    --error-red: #ef4444;       /* Professional Error Red */
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; /* This stops all scrolling on PC and Mobile */
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
}

/* Elite Layout Container - Fixed for No Scroll */
.main-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
}

/* Professional Action Buttons */
.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    padding: 16px 24px; /* Slightly reduced for better fit */
    border-radius: 16px; 
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    display: block;
    width: 100%;
    border: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(0, 43, 85, 0.3);
    letter-spacing: 0.5px;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    padding: 16px 24px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    display: block;
    width: 100%;
    border: 2px solid var(--primary-blue);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-primary:active, .btn-secondary:active {
    transform: scale(0.97);
}

/* High-End Transition Overlays */
.portal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    align-items: flex-end;
    justify-content: center;
    z-index: 1000;
}

.mobile-sheet {
    width: 100%;
    max-width: 480px;
    background: white;
    border-top-left-radius: 35px;
    border-top-right-radius: 35px;
    padding: 30px 32px; /* Adjusted padding */
    box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.1);
    animation: sheetSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sheetSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Executive Form Inputs */
.input-field {
    width: 100%;
    padding: 14px 20px;
    background-color: var(--bg-soft);
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

/* Custom Warning Popup Styling */
#warning-popup:not(.hidden) {
    display: flex;
    animation: popupFadeIn 0.3s ease-out;
}

@keyframes popupFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#warning-popup > div {
    animation: popupScaleUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popupScaleUp {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (min-width: 768px) {
    .mobile-sheet {
        border-radius: 28px;
        margin-bottom: 0;
    }
    .portal-overlay {
        align-items: center;
    }
}

/* Utilities */
.no-scrollbar::-webkit-scrollbar { display: none; }
.text-xs-gold { color: var(--accent-gold); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
