/* RecruitHub Master Stylesheet */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #198754;
    --navy-blue: #1e3a8a;
    --gold: #d97706;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

/* Header & Navigation */
.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.025em;
}

.brand-badge {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    vertical-align: middle;
}

/* Marquee News Bar */
.marquee-container {
    background: #fef3c7;
    border-bottom: 1px solid #fde68a;
    color: #92400e;
    font-size: 0.9rem;
    padding: 6px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
}

@keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* Recruitment Cards */
.recruitment-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.recruitment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.08);
}

.advt-badge {
    background-color: #e0e7ff;
    color: #3730a3;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 6px;
}

/* Workflow Step Wizard */
.workflow-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.workflow-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    background: #f8fafc;
    padding: 0 10px;
}

.step-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #cbd5e1;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.step-item.active .step-circle {
    background: #0d6efd;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.2);
}

.step-item.completed .step-circle {
    background: #198754;
}

.step-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
}

.step-item.active .step-title {
    color: #0d6efd;
}

/* Status Badges */
.badge-status-draft { background-color: #94a3b8; }
.badge-status-scheduled { background-color: #0284c7; }
.badge-status-upcoming { background-color: #0284c7; }
.badge-status-registration_open { background-color: #16a34a; }
.badge-status-application_open { background-color: #16a34a; }
.badge-status-closing_soon { background-color: #ea580c; }
.badge-status-closed { background-color: #dc2626; }
.badge-status-submitted { background-color: #2563eb; }
.badge-status-accepted { background-color: #16a34a; }
.badge-status-rejected { background-color: #dc2626; }
.badge-status-under_verification { background-color: #7c3aed; }
.badge-status-document_deficient { background-color: #d97706; }

/* Admin Sidebar */
.admin-sidebar {
    min-height: calc(100vh - 60px);
    background: #1e293b;
    color: #cbd5e1;
}

.admin-sidebar a {
    color: #94a3b8;
    text-decoration: none;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 6px;
    margin: 3px 10px;
    font-weight: 500;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: #334155;
    color: #ffffff;
}

/* Print Friendly Styles */
@media print {
    body {
        background: #fff !important;
        color: #000 !important;
    }
    .no-print, header, footer, .navbar, .btn {
        display: none !important;
    }
    .print-only {
        display: block !important;
    }
    .card {
        border: none !important;
        box-shadow: none !important;
    }
}

