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

:root {
    --bg-dark: #060813;
    --bg-dark-accent: #0b0f24;
    --bg-card: rgba(13, 19, 36, 0.7);
    --bg-card-hover: rgba(18, 27, 51, 0.85);
    
    --primary-red: #e30613;
    --primary-red-hover: #ff1d28;
    --primary-red-alpha: rgba(227, 6, 19, 0.2);
    
    --accent-gold: #f5a623;
    --accent-gold-hover: #ffb940;
    --accent-gold-alpha: rgba(245, 166, 35, 0.15);
    
    --text-white: #ffffff;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dimmed: #64748b;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.18);
    --border-red: rgba(227, 6, 19, 0.4);
    --border-gold: rgba(245, 166, 35, 0.4);
    
    --glow-red: 0 0 25px rgba(227, 6, 19, 0.4);
    --glow-gold: 0 0 25px rgba(245, 166, 35, 0.25);
    --glass-blur: blur(16px);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(227, 6, 19, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(245, 166, 35, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(11, 15, 36, 0.5) 0%, var(--bg-dark) 100%);
    background-attachment: fixed;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-white);
    font-weight: 700;
}

a {
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red);
}

/* Grid & Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-red { color: var(--primary-red); }
.text-gold { color: var(--accent-gold); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, #9e0007 100%);
    color: var(--text-white);
    box-shadow: var(--glow-red);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-red-hover) 0%, var(--primary-red) 100%);
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(227, 6, 19, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #bc7b0e 100%);
    color: var(--bg-dark);
    box-shadow: var(--glow-gold);
}
.btn-gold:hover {
    background: linear-gradient(135deg, var(--accent-gold-hover) 0%, var(--accent-gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(245, 166, 35, 0.4);
}

.btn-danger {
    background: rgba(220, 38, 38, 0.2);
    color: #f87171;
    border: 1px solid rgba(220, 38, 38, 0.4);
}
.btn-danger:hover {
    background: rgba(220, 38, 38, 0.4);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

/* Header & Hero Section */
.hero-section {
    position: relative;
    padding: 80px 0 60px 0;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(227, 6, 19, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.show-title-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: var(--accent-gold);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.03);
}

.hero-main-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.hero-main-title span.slash-red {
    background: linear-gradient(90deg, #fff 0%, #fff 40%, var(--primary-red) 70%, var(--primary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 35px 0;
    border: 2px solid var(--border-gold);
    padding: 8px 30px;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: var(--glow-gold);
}

.hero-subtitle-bar h2 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 800;
    text-transform: uppercase;
}

.hero-details-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 25px;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 0.95rem;
    color: var(--text-light);
}

.hero-details-list span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-details-list span::before {
    content: "●";
    color: var(--primary-red);
    font-size: 0.8rem;
}

/* Multi-step Application Wizard */
.wizard-container {
    max-width: 800px;
    margin: 0 auto 80px auto;
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    padding: 0 10px;
}

.wizard-steps::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
    transform: translateY(-50%);
}

.wizard-progress {
    position: absolute;
    top: 50%;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-gold));
    z-index: 2;
    transform: translateY(-50%);
    transition: width 0.4s ease;
    width: 0%;
}

.step-node {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-dark-accent);
    border: 3px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dimmed);
    position: relative;
    z-index: 3;
    transition: var(--transition);
}

.step-node.active {
    border-color: var(--primary-red);
    color: var(--text-white);
    background: var(--bg-dark);
    box-shadow: var(--glow-red);
}

.step-node.completed {
    border-color: var(--accent-gold);
    color: var(--bg-dark);
    background: var(--accent-gold);
    box-shadow: var(--glow-gold);
}

.step-node .step-label {
    position: absolute;
    top: 50px;
    white-space: nowrap;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
}

.step-node.active .step-label {
    color: var(--text-white);
}

/* Wizard Form Steps */
.form-step-content {
    display: none;
}

.form-step-content.active {
    display: block;
    animation: slideUpFade 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Fields Styling */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

@media (max-width: 600px) {
    .form-group.full-width {
        grid-column: span 1;
    }
}

.form-group label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group label .required-asterisk {
    color: var(--primary-red);
}

.form-control {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--text-white);
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px var(--primary-red-alpha);
    background: rgba(0, 0, 0, 0.5);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* Toggle / Radio buttons */
.choice-switch-container {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.choice-box {
    flex: 1;
    cursor: pointer;
}

.choice-box input {
    display: none;
}

.choice-box-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px;
    text-align: center;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.choice-box input:checked + .choice-box-card {
    background: var(--primary-red-alpha);
    border-color: var(--primary-red);
    color: var(--text-white);
    box-shadow: inset 0 0 10px rgba(227, 6, 19, 0.15);
}

/* File Upload Area */
.media-upload-area {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.upload-card {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.01);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.upload-card:hover, .upload-card.dragover {
    border-color: var(--accent-gold);
    background: rgba(245, 166, 35, 0.03);
}

.upload-card input[type="file"] {
    display: none;
}

.upload-icon {
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 12px;
    display: block;
}

.upload-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.upload-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Preview Image/Video Styles */
.preview-container {
    display: none;
    margin-top: 15px;
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    max-height: 180px;
    border: 1px solid var(--border-color);
}

.preview-container img, .preview-container video {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.preview-container .preview-overlay {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
}

.btn-remove-file {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #ef4444;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-remove-file:hover {
    background: #ef4444;
    color: white;
}

/* Live Recording Controls (Webcam / Microphone) */
.media-recorder-box {
    margin-top: 20px;
    border: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-md);
    padding: 20px;
}

.recorder-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.recorder-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.recorder-badge-recording {
    display: none;
    align-items: center;
    gap: 6px;
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.recorder-badge-recording .pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    animation: recordPulse 1.2s infinite;
}

@keyframes recordPulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.video-feed-container {
    width: 100%;
    height: 240px;
    background: #000;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
}

.video-feed-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recorder-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Audio Waveform Simulator */
.audio-waveform-container {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    padding: 10px;
}

.waveform-bar {
    width: 3px;
    height: 10%;
    background: var(--accent-gold);
    border-radius: 3px;
    transition: height 0.1s ease;
}

.waveform-bar.active {
    animation: audioWave 1.2s infinite ease-in-out;
}

/* Waveform bars animations with varying delays */
.waveform-bar.active:nth-child(2n) { animation-delay: 0.15s; }
.waveform-bar.active:nth-child(3n) { animation-delay: 0.3s; }
.waveform-bar.active:nth-child(4n) { animation-delay: 0.05s; }
.waveform-bar.active:nth-child(5n) { animation-delay: 0.45s; }

@keyframes audioWave {
    0%, 100% { height: 10%; }
    50% { height: 90%; }
}

.record-timer {
    font-family: monospace;
    font-size: 1.1rem;
    color: var(--text-white);
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Form Footer Controls */
.form-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

/* Status Screen (Success/Error) */
.status-display {
    text-align: center;
    padding: 40px 0;
}

.status-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.status-icon.success {
    color: #10b981;
}

.status-icon.error {
    color: #ef4444;
}

.status-display h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.status-display p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 30px auto;
}

/* Upload Progress Screen */
.progress-screen {
    text-align: center;
    padding: 40px 0;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.05);
    border-top-color: var(--primary-red);
    border-bottom-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
    margin: 0 auto 25px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.progress-bar-container {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    height: 8px;
    border-radius: 50px;
    overflow: hidden;
    max-width: 400px;
    margin: 20px auto;
    border: 1px solid var(--border-color);
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-gold));
    border-radius: 50px;
    transition: width 0.2s ease;
}

.progress-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-white);
}

/* Admin Dashboard CSS layout */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

@media (max-width: 900px) {
    .admin-wrapper {
        flex-direction: column;
    }
}

.admin-sidebar {
    width: 280px;
    background: #090e1c;
    border-right: 1px solid var(--border-color);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 900px) {
    .admin-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
    }
}

.admin-logo-area {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-logo-area h2 {
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-logo-area span {
    font-size: 0.75rem;
    background: var(--primary-red);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.admin-nav-item:hover, .admin-nav-item.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
}

.admin-nav-item.active {
    border-left: 3px solid var(--primary-red);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.admin-sidebar-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 900px) {
    .admin-sidebar-footer {
        margin-top: 20px;
    }
}

.admin-content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

@media (max-width: 900px) {
    .admin-content {
        padding: 20px;
    }
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap;
}

.admin-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.metric-icon.red {
    background: rgba(227, 6, 19, 0.1);
    color: var(--primary-red);
}

.metric-icon.gold {
    background: rgba(245, 166, 35, 0.1);
    color: var(--accent-gold);
}

.metric-icon.green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.metric-data h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

.metric-data .metric-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
}

/* Filters and Search in Admin */
.admin-filters-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    align-items: end;
}

/* Data Table Styling */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    text-align: left;
}

.data-table th {
    background: #090e1c;
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.data-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-light);
    vertical-align: middle;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr {
    transition: var(--transition);
}

.data-table tbody tr:hover {
    background: var(--bg-card-hover);
}

.avatar-thumbnail {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

/* Badges for status */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-new { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.badge-review { background: rgba(245, 166, 35, 0.15); color: #fbbf24; }
.badge-approved { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.badge-rejected { background: rgba(239, 68, 68, 0.15); color: #f87171; }

/* Admin Modal (Candidate Detail) */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 5, 10, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

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

.modal-card {
    background: #090e1c;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 950px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    position: relative;
    animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleUp {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-red);
    transform: rotate(90deg);
}

.modal-body {
    padding: 35px;
}

.candidate-modal-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.candidate-modal-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .candidate-modal-grid {
        grid-template-columns: 1fr;
    }
}

.candidate-photo-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gallery-main-img {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.gallery-thumb-item {
    height: 75px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.gallery-thumb-item.active, .gallery-thumb-item:hover {
    border-color: var(--primary-red);
}

.info-display-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.info-display-item h5 {
    font-size: 0.75rem;
    color: var(--text-dimmed);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.info-display-item p {
    font-size: 0.95rem;
    color: var(--text-white);
    font-weight: 500;
}

.info-display-item.full-width {
    grid-column: span 2;
}

.admin-media-player-box {
    margin-bottom: 20px;
}

.admin-media-player-box h4 {
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.admin-media-player-box video {
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: #000;
    max-height: 250px;
}

.admin-media-player-box audio {
    width: 100%;
    border-radius: 50px;
    margin-top: 5px;
}

.modal-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 15px;
}

.status-change-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-change-select {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
}

/* Image Zoom Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--radius-sm);
    animation: zoomIn 0.25s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Login Card CSS */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.login-card {
    width: 100%;
    max-width: 420px;
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo h1 {
    font-size: 2.2rem;
    letter-spacing: -0.5px;
}

/* Terms and Checkboxes CSS */
.terms-wrapper {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.terms-container {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--radius-md);
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 25px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.terms-title {
    font-family: 'Outfit', sans-serif;
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.terms-text {
    margin-bottom: 15px;
    line-height: 1.5;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-light);
    transition: var(--transition);
    padding: 8px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
}

.checkbox-item input[type="checkbox"] {
    margin-top: 4px;
    accent-color: var(--primary-red);
    cursor: pointer;
}

.checkbox-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Promo Grid & Banner styles */
.promo-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 50px;
    align-items: start;
    margin: 40px auto 20px auto;
    max-width: 1100px;
}

@media (max-width: 900px) {
    .promo-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .promo-banner-img {
        max-width: 320px;
        margin: 0 auto;
        display: block;
    }
}

.promo-banner-img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.promo-banner-img:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-red);
    border-color: var(--primary-red);
}

.promo-content {
    display: flex;
    flex-direction: column;
}

.promo-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.promo-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 12px;
}

.promo-list {
    margin: 15px 0 25px 0;
    padding: 0;
    list-style: none;
}

.promo-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.promo-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

.promo-footer-cta {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary-red);
    line-height: 1.3;
    margin-top: 20px;
    margin-bottom: 20px;
}

