/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a365d;
    --primary-light: #2d4f8b;
    --secondary: #e53e3e;
    --success: #38a169;
    --warning: #d69e2e;
    --danger: #e53e3e;
    --light: #f7fafc;
    --dark: #2d3748;
    --gray: #718096;
    --gray-light: #e2e8f0;
    --sidebar-width: 250px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

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

a:hover {
    color: var(--primary-light);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    color: white;
}

.btn-secondary {
    background-color: var(--gray-light);
    color: var(--dark);
}

.btn-secondary:hover {
    background-color: #d1d9e6;
}

.btn-success {
    background-color: var(--success);
    color: white;
}

.btn-danger {
    background-color: var(--danger);
    color: white;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 40px;
}

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

/* ===== CARDS ===== */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--gray-light);
}

.card-header {
    border-bottom: 1px solid var(--gray-light);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== TABLES ===== */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.table th {
    background-color: var(--primary);
    color: white;
    text-align: left;
    padding: 12px 15px;
    font-weight: 600;
}

.table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--gray-light);
}

.table tr:hover {
    background-color: #f8f9fa;
}

.table-striped tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* ===== NAVBAR ===== */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--primary);
    color: white;
    height: calc(100vh - 70px);
    position: fixed;
    top: 70px;
    left: 0;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.sidebar-menu {
    padding: 1.5rem 0;
}

.sidebar-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.sidebar-item:hover,
.sidebar-item.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-left-color: white;
}

.sidebar-item i {
    width: 20px;
    text-align: center;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 2rem;
    min-height: calc(100vh - 70px);
}

/* ===== STATS CARDS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.jobs { background-color: #e3f2fd; color: #1976d2; }
.stat-icon.apps { background-color: #f3e5f5; color: #7b1fa2; }
.stat-icon.short { background-color: #e8f5e9; color: #388e3c; }
.stat-icon.inter { background-color: #fff3e0; color: #f57c00; }

.stat-info h3 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.stat-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===== ALERTS ===== */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.alert-success {
    background-color: #d4edda;
    border-color: var(--success);
    color: #155724;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: var(--warning);
    color: #856404;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: var(--danger);
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
}

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-success {
    background-color: #d4edda;
    color: #155724;
}

.badge-warning {
    background-color: #fff3cd;
    color: #856404;
}

.badge-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.badge-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

.badge-primary {
    background-color: #d1e7ff;
    color: var(--primary);
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-light);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .navbar-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* ===== UTILITIES ===== */
.d-flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.text-center { text-align: center; }
.text-right { text-align: right; }

.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }

/* ===== LOADING SPINNER ===== */
.spinner {
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 3px solid var(--primary);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

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

.loading {
    text-align: center;
    padding: 2rem;
}
/* ===== FRAUD WARNING STYLES ===== */
.fraud-warning-body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.fraud-warning-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    width: 100%;
    margin: 20px auto;
    overflow: hidden;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.warning-header {
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: white;
    padding: 2rem;
    text-align: center;
}

.warning-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.warning-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.warning-content {
    padding: 2rem;
}

.warning-message {
    max-width: 800px;
    margin: 0 auto;
}

.warning-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.warning-icon i {
    font-size: 3rem;
    color: var(--primary);
    background: #e3f2fd;
    padding: 1rem;
    border-radius: 50%;
}

.warning-message h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-light);
}

.warning-points {
    margin-bottom: 2rem;
}

.point {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid transparent;
}

.point.danger {
    border-left-color: var(--danger);
}

.point.success {
    border-left-color: var(--success);
}

.point i {
    font-size: 1.5rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.point i.danger {
    color: var(--danger);
}

.point i.success {
    color: var(--success);
}

.fraud-example {
    background: #fff3f3;
    border: 1px solid #ffcdd2;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.fraud-example h3 {
    color: var(--danger);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.example-box {
    background: white;
    padding: 1.5rem;
    border-radius: 5px;
    border-left: 4px solid var(--danger);
    font-style: italic;
    color: var(--gray);
}

.fraud-label {
    color: var(--danger);
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
    padding: 0.5rem;
    background: #ffebee;
    border-radius: 4px;
}

.reporting-info {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.reporting-info h3 {
    color: var(--success);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reporting-info ul {
    list-style: none;
    padding-left: 0;
}

.reporting-info li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #c8e6c9;
}

.reporting-info li:last-child {
    border-bottom: none;
}

.warning-footer {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 5px;
    border: 1px solid var(--gray-light);
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-container label {
    cursor: pointer;
    font-weight: 600;
    color: var(--dark);
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 1rem;
}

.button-group .btn {
    min-width: 200px;
    padding: 12px 24px;
    font-size: 1rem;
}

.small-text {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.small-text i {
    margin-right: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fraud-warning-modal {
        margin: 10px;
    }
    
    .warning-header {
        padding: 1.5rem;
    }
    
    .warning-header h1 {
        font-size: 1.5rem;
    }
    
    .warning-content {
        padding: 1rem;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .button-group .btn {
        min-width: 100%;
    }
    
    .point {
        flex-direction: column;
        gap: 10px;
    }
}
/* ===== LOGIN PAGE STYLES ===== */
.login-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a365d 0%, #2d4f8b 100%);
}

.login-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    min-height: 700px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin: 20px;
}

/* Left Branding Panel */
.login-branding {
    flex: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.brand-logo i {
    font-size: 3rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
}

.brand-logo h1 {
    font-size: 2.5rem;
    color: white;
    margin: 0;
}

.brand-text h2 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.brand-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.system-features {
    margin: 2rem 0;
}

.system-features h3 {
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.system-features ul {
    list-style: none;
    padding-left: 0;
}

.system-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.system-features li:last-child {
    border-bottom: none;
}

.system-features li i {
    width: 20px;
    text-align: center;
}

.login-footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.login-footer .small {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0.7;
}

/* Right Login Form Panel */
.login-form-panel {
    flex: 1;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form-container {
    width: 100%;
    max-width: 400px;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--gray);
}

.password-toggle {
    text-align: right;
    margin-top: 5px;
}

.btn-text {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 12px;
    cursor: pointer;
    padding: 0;
}

.btn-text:hover {
    text-decoration: underline;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.forgot-link {
    color: var(--primary);
    font-size: 14px;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.login-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    color: var(--gray);
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--gray-light);
}

.login-divider span {
    padding: 0 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.alternative-login {
    text-align: center;
    margin-bottom: 2rem;
}

.e-citizen-btn {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.e-citizen-btn:hover {
    background: var(--primary);
    color: white;
}

.alternative-login .small {
    color: var(--gray);
    font-size: 12px;
    line-height: 1.4;
}

.login-note {
    margin: 2rem 0;
}

.security-tips {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 4px solid var(--primary);
}

.security-tips h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.security-tips ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.security-tips li {
    font-size: 0.8rem;
    padding: 0.3rem 0;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.security-tips li:before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
}

.user-type-links {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-light);
}

.user-type-links p {
    color: var(--gray);
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .login-branding {
        padding: 2rem;
    }
    
    .brand-logo {
        justify-content: center;
    }
    
    .brand-text {
        text-align: center;
    }
    
    .system-features {
        display: none;
    }
    
    .login-form-panel {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .login-container {
        margin: 10px;
    }
    
    .login-branding,
    .login-form-panel {
        padding: 1.5rem;
    }
    
    .brand-logo h1 {
        font-size: 2rem;
    }
    
    .brand-text h2 {
        font-size: 1.5rem;
    }
    
    .form-options {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}
/* ===== JOB CREATION STYLES ===== */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    flex: 1;
}

.form-row .col-2 {
    flex: 2;
}

.form-row .col-3 {
    flex: 3;
}

.form-text {
    display: block;
    margin-top: 5px;
    color: var(--gray);
    font-size: 12px;
}

/* Rich text editor styling */
.rich-text {
    min-height: 200px;
}

.tox-tinymce {
    border-radius: 5px !important;
    border-color: var(--gray-light) !important;
}

/* Responsibilities */
.responsibility-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.responsibility-item input {
    flex: 1;
}

.remove-btn {
    flex-shrink: 0;
}

/* Skills */
.skills-container {
    border: 1px solid var(--gray-light);
    border-radius: 5px;
    padding: 15px;
}

.selected-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    min-height: 40px;
}

.skill-tag {
    background: var(--primary-light);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.skill-tag button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    font-size: 12px;
}

.skills-input {
    position: relative;
}

.skills-suggestions {
    margin-top: 5px;
    color: var(--gray);
    font-size: 12px;
}

/* Checkbox groups */
.checkbox-group {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

/* Gap utilities */
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* Job Preview */
.job-preview {
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.preview-section {
    margin-bottom: 2rem;
}

.preview-section h3 {
    color: var(--primary);
    border-bottom: 2px solid var(--gray-light);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.preview-table {
    width: 100%;
    border-collapse: collapse;
}

.preview-table tr {
    border-bottom: 1px solid #eee;
}

.preview-table td {
    padding: 10px;
}

.preview-table td:first-child {
    font-weight: 600;
    width: 30%;
}

/* Responsive */
@media (max-width: 992px) {
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-row .form-group {
        width: 100%;
    }
}
/* ===== VIEW APPLICATIONS STYLES ===== */
.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 1.5rem;
}

.filter-group {
    margin-bottom: 1rem;
}

.search-box {
    display: flex;
    gap: 10px;
}

.search-box input {
    flex: 1;
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gray-light);
    color: var(--dark);
}

.btn-outline:hover {
    background: var(--gray-light);
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-light);
}

.filter-tag {
    background: var(--primary-light);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.filter-tag button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    font-size: 16px;
    line-height: 1;
}

.applicant-info {
    line-height: 1.4;
}

.match-score {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.progress {
    background: var(--gray-light);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 4px;
}

.action-buttons {
    display: flex;
    gap: 5px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    background: white;
    border: 1px solid var(--gray-light);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 150px;
    z-index: 1000;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: var(--dark);
    text-decoration: none;
    border-bottom: 1px solid var(--gray-light);
}

.dropdown-menu a:hover {
    background: #f8f9fa;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.selected-row {
    background-color: #e3f2fd !important;
}

.bulk-actions-bar {
    position: fixed;
    bottom: 0;
    left: var(--sidebar-width);
    right: 0;
    background: var(--primary);
    color: white;
    padding: 15px 2rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.pagination-info {
    margin-right: 15px;
    color: var(--gray);
}

.pagination {
    display: flex;
    gap: 5px;
}

.empty-state {
    padding: 3rem 1rem;
    text-align: center;
    color: var(--gray);
}

.empty-state i {
    margin-bottom: 1rem;
    color: var(--gray-light);
}

/* Application Details Modal */
.application-details {
    padding: 1rem;
}

.detail-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-light);
}

.applicant-photo {
    flex-shrink: 0;
}

.applicant-summary {
    flex: 1;
}

.applicant-summary h4 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.applicant-summary p {
    margin: 5px 0;
}

.match-display {
    text-align: center;
    flex-shrink: 0;
}

.match-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 5px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 10px;
}

.detail-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
    padding-bottom: 10px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    color: var(--gray);
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 2rem;
}

.detail-notes {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
    .bulk-actions-bar {
        left: 0;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .match-display {
        align-self: flex-start;
    }
}
/* ===== CANDIDATES MANAGEMENT STYLES ===== */
.tabs-nav {
    display: flex;
    gap: 5px;
    border-bottom: 1px solid var(--gray-light);
    padding-bottom: 10px;
    overflow-x: auto;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    color: var(--gray);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: #f0f7ff;
}

.tab-btn .badge {
    background: var(--gray-light);
    color: var(--dark);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

.tab-btn.active .badge {
    background: var(--primary);
    color: white;
}

.search-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 1rem;
}

.search-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
}

.search-box i {
    color: var(--gray);
}

.search-box input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-size: 14px;
}

.filter-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.advanced-filters {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-light);
}

.checkbox-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.diversity-filters h4 {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 1rem;
}

.candidate-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 2rem;
}

.stats-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 15px;
}

.stats-card .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: #e3f2fd;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.stats-card .stat-info h3 {
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.stats-card .stat-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

.view-toggle {
    display: flex;
    gap: 10px;
}

.view-toggle .btn {
    background: #f8f9fa;
    border: 1px solid var(--gray-light);
}

.view-toggle .btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Grid View */
.candidates-grid .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 2rem;
}

.candidate-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.candidate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.candidate-card .card-header {
    background: var(--primary);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.candidate-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.candidate-status {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-end;
}

.candidate-card .card-body {
    padding: 1.5rem;
}

.candidate-card h4 {
    margin-bottom: 5px;
    color: var(--dark);
}

.candidate-details {
    margin: 1rem 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--gray);
    font-size: 0.9rem;
}

.detail-item i {
    width: 16px;
    color: var(--primary);
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 1rem 0;
}

.skill-tag {
    background: #e3f2fd;
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.match-score {
    margin-top: 1rem;
}

.match-score .progress {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 5px;
}

.match-score .progress-bar {
    background: var(--success);
    height: 100%;
    border-radius: 3px;
}

.match-score span {
    font-size: 12px;
    color: var(--gray);
}

.candidate-card .card-footer {
    padding: 1rem;
    border-top: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Table View */
.table-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.table-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.match-display {
    display: flex;
    align-items: center;
    gap: 10px;
}

.loading-grid {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--gray);
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-light);
}

.pagination-info {
    color: var(--gray);
}

.pagination {
    display: flex;
    align-items: center;
    gap: 5px;
}

.page-number {
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.page-number:hover {
    background: #f0f7ff;
}

.page-number.active {
    background: var(--primary);
    color: white;
}

.page-ellipsis {
    padding: 5px;
}

/* Modals */
.search-with-results {
    position: relative;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--gray-light);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}

.search-result-item {
    padding: 10px 15px;
    border-bottom: 1px solid var(--gray-light);
    cursor: pointer;
}

.search-result-item:hover {
    background: #f8f9fa;
}

.no-results {
    padding: 15px;
    text-align: center;
    color: var(--gray);
}

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--gray);
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--gray-light);
}

.divider span {
    padding: 0 15px;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Profile in Modal */
.candidate-profile {
    padding: 1rem;
}

.profile-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-light);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.profile-info h4 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.profile-info p {
    margin: 5px 0;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-tabs {
    margin-bottom: 2rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.education-item, .experience-item {
    padding: 10px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 3px solid var(--primary);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-notes {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .tabs-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .search-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .candidates-grid .grid-container {
        grid-template-columns: 1fr;
    }
    
    .profile-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .profile-avatar {
        align-self: center;
    }
    
    .checkbox-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
}
/* ===== REPORTS STYLES ===== */
.date-range-controls {
    padding: 1rem;
}

.date-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.date-presets .btn {
    background: #f8f9fa;
    border: 1px solid var(--gray-light);
}

.date-presets .btn:hover {
    background: var(--gray-light);
}

.custom-date-range {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.custom-date-range .form-group {
    flex: 1;
}

/* Row and Column Layout */
.row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.row .col-2 {
    flex: 1;
}

.row .col-3 {
    flex: 1;
}

/* Charts */
.chart-container {
    position: relative;
    height: 300px;
    padding: 1rem;
}

.chart-container h5 {
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Top Departments */
.top-departments {
    padding: 0.5rem;
}

.department-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}

.department-name {
    flex: 1;
    font-weight: 500;
    min-width: 150px;
}

.department-bar {
    flex: 2;
    height: 10px;
    background: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 5px;
}

.department-count {
    min-width: 80px;
    text-align: right;
    font-weight: 500;
    color: var(--primary);
}

/* Metrics */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.metric-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 5px;
}

.metric-label {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Applications Table */
.conversion-rate {
    display: flex;
    align-items: center;
    gap: 10px;
}

.conversion-rate .progress {
    flex: 1;
    height: 8px;
}

/* Diversity Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 1rem;
}

.stat-box {
    background: white;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Compliance Meter */
.compliance-meter {
    margin-bottom: 1.5rem;
}

.meter-label {
    margin-bottom: 5px;
    font-weight: 500;
}

.meter {
    height: 10px;
    background: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
    margin: 5px 0;
}

.meter-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.meter-value {
    text-align: right;
    font-weight: bold;
    color: var(--primary);
}

/* Hiring Metrics */
.metric-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1rem;
    background: white;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
}

.metric-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: #e3f2fd;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.metric-content {
    flex: 1;
}

/* Timeline */
.timeline {
    margin-top: 1rem;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-left: 4px solid var(--primary);
    border-radius: 0 5px 5px 0;
}

.timeline-stage {
    font-weight: 500;
}

.timeline-duration {
    color: var(--primary);
    font-weight: bold;
}

/* Action List */
.action-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.action-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid;
}

.action-item i {
    font-size: 1.2rem;
    margin-top: 3px;
}

.action-item.text-warning {
    border-left-color: var(--warning);
}

.action-item.text-info {
    border-left-color: var(--primary);
}

.action-item.text-success {
    border-left-color: var(--success);
}

/* Custom Report Builder */
.data-fields-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 1rem;
    max-height: 300px;
    overflow-y: auto;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
}

.field-category h5 {
    margin-bottom: 10px;
    color: var(--primary);
}

.field-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-checkboxes label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.filter-builder {
    margin-top: 10px;
}

.filter-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: flex-end;
}

.filter-row select,
.filter-row input {
    flex: 1;
}

/* Report Preview */
.report-preview {
    padding: 1rem;
    background: white;
}

.report-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
}

.report-header h2 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.report-section {
    margin-bottom: 2rem;
    page-break-inside: avoid;
}

.report-section h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--gray-light);
    padding-bottom: 0.5rem;
}

/* Saved Reports */
#savedReportsTable td {
    vertical-align: middle;
}

/* Responsive */
@media (max-width: 992px) {
    .row {
        flex-direction: column;
    }
    
    .col-2, .col-3 {
        width: 100%;
    }
    
    .custom-date-range {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .data-fields-selector {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .date-presets {
        justify-content: center;
    }
    
    .tabs-nav {
        overflow-x: auto;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .metric-card {
        flex-direction: column;
        text-align: center;
    }
}
/* ===== FIREBASE/AUTH STYLES ===== */
.global-alert {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    max-width: 500px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: slideIn 0.3s ease;
}

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

.alert-content {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
}

.alert-content i {
    font-size: 1.2rem;
}

.alert-content span {
    flex: 1;
}

.alert-content button {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    opacity: 0.7;
}

.alert-content button:hover {
    opacity: 1;
}

/* Loading states */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

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

/* Auth error states */
.input-error {
    border-color: var(--danger) !important;
}

.error-message {
    color: var(--danger);
    font-size: 12px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Firebase storage upload styles */
.upload-progress {
    margin-top: 10px;
}

.progress-bar {
    height: 10px;
    background: var(--gray-light);
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 5px;
    transition: width 0.3s ease;
}

.upload-status {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-top: 5px;
    color: var(--gray);
}
/* ============================================
   APPLICANT PORTAL STYLES
   ============================================ */

/* Applicant Registration Page */
.applicant-register-page {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.register-container {
    display: flex;
    min-height: 100vh;
}

.register-sidebar {
    flex: 1;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sidebar-content {
    max-width: 400px;
    margin: 0 auto;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.brand-logo i {
    font-size: 48px;
}

.brand-logo h1 {
    font-size: 42px;
    margin: 0;
    font-weight: 700;
}

.brand-text h2 {
    font-size: 24px;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.brand-text p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0 0 30px 0;
}

.registration-info,
.requirements {
    margin: 25px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.registration-info h3,
.requirements h3 {
    font-size: 18px;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.registration-info ul,
.requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.registration-info li,
.requirements li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.registration-info i {
    color: #4CAF50;
}

.register-form-panel {
    flex: 2;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.register-form-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    color: #1e3c72;
    margin: 0 0 10px 0;
    font-size: 28px;
}

.form-header p {
    color: #666;
    margin: 0;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s;
}

.step.active .step-number {
    background: #1e3c72;
    color: white;
    transform: scale(1.1);
}

.step.completed .step-number {
    background: #28a745;
    color: white;
}

.step-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.step.active .step-label {
    color: #1e3c72;
    font-weight: 600;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e9ecef;
    z-index: 0;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-step.active {
    display: block;
}

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

.form-step h3 {
    color: #1e3c72;
    margin: 0 0 20px 0;
    font-size: 22px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

/* Form Layout */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #1e3c72;
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

.form-text {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
    display: block;
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    margin: 0;
}

/* Document Upload */
.document-upload {
    margin: 20px 0;
}

.upload-item {
    margin-bottom: 20px;
    padding: 20px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    transition: all 0.3s;
}

.upload-item:hover {
    border-color: #1e3c72;
    background: #f8f9fa;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-align: center;
}

.upload-label i {
    font-size: 32px;
    color: #1e3c72;
}

.upload-label span {
    font-weight: 500;
    color: #333;
}

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

.upload-hint {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.upload-status {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* Password Requirements */
.password-requirements {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0;
}

.password-requirements h4 {
    margin: 0 0 15px 0;
    color: #1e3c72;
    display: flex;
    align-items: center;
    gap: 10px;
}

.password-requirements ul {
    margin: 0;
    padding-left: 20px;
}

.password-requirements li {
    margin-bottom: 5px;
    color: #555;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Checkboxes */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
}

.form-check-input {
    margin-top: 5px;
}

.form-check-label {
    color: #333;
    line-height: 1.5;
}

/* Login Link */
.login-link {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.login-link a {
    color: #1e3c72;
    font-weight: 500;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
}

.btn-primary {
    background: #1e3c72;
    color: white;
}

.btn-primary:hover {
    background: #2a5298;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.3s ease;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .register-container {
        flex-direction: column;
    }
    
    .register-sidebar {
        padding: 30px;
    }
    
    .register-form-panel {
        padding: 20px;
    }
    
    .register-form-container {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .step-indicator {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .step {
        flex: none;
        width: calc(50% - 10px);
    }
    
    .step-indicator::before {
        display: none;
    }
}

@media (max-width: 576px) {
    .register-form-container {
        padding: 20px;
    }
    
    .form-header h2 {
        font-size: 24px;
    }
    
    .form-step h3 {
        font-size: 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Applicant Login Page */
.applicant-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 20px;
}

.applicant-login-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
    overflow: hidden;
}

.applicant-login-header {
    background: #1e3c72;
    color: white;
    padding: 30px;
    text-align: center;
}

.applicant-login-header i {
    font-size: 48px;
    margin-bottom: 15px;
}

.applicant-login-header h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
}

.applicant-login-header p {
    margin: 0;
    opacity: 0.9;
}

.applicant-login-body {
    padding: 30px;
}

.login-options {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.login-option-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #1e3c72;
    background: white;
    color: #1e3c72;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.login-option-btn.active {
    background: #1e3c72;
    color: white;
}

.login-option-btn:hover:not(.active) {
    background: #f8f9fa;
}

/* Applicant Dashboard */
.applicant-dashboard {
    display: flex;
    min-height: 100vh;
    background: #f8f9fa;
}

.dashboard-sidebar {
    width: 250px;
    background: #1e3c72;
    color: white;
    padding: 20px 0;
}

.dashboard-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.dashboard-welcome {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.dashboard-welcome h1 {
    color: #1e3c72;
    margin: 0 0 10px 0;
}

.dashboard-welcome p {
    color: #666;
    margin: 0;
}

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

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-icon.applications { background: #e3f2fd; color: #1976d2; }
.stat-icon.interviews { background: #f3e5f5; color: #7b1fa2; }
.stat-icon.offers { background: #e8f5e9; color: #388e3c; }
.stat-icon.profile { background: #fff3e0; color: #f57c00; }

.stat-info h3 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

.stat-info p {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 14px;
}

/* Job Cards */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.job-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.job-header {
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.job-title {
    margin: 0 0 10px 0;
    color: #1e3c72;
    font-size: 18px;
}

.job-department {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.job-body {
    padding: 20px;
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.job-detail {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 14px;
}

.job-description {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.job-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.deadline {
    color: #666;
    font-size: 14px;
}

.deadline span {
    color: #dc3545;
    font-weight: 500;
}

/* Application Status */
.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-reviewing { background: #cce5ff; color: #004085; }
.status-shortlisted { background: #d4edda; color: #155724; }
.status-interview { background: #d1ecf1; color: #0c5460; }
.status-rejected { background: #f8d7da; color: #721c24; }
.status-hired { background: #d4edda; color: #155724; }

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state i {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h3 {
    margin: 0 0 10px 0;
    color: #555;
}

.empty-state p {
    margin: 0;
}
/* ============================================
   APPLICANT DASHBOARD STYLES
   ============================================ */

/* Dashboard Navigation */
.dashboard-nav {
    background: #1e3c72;
    color: white;
    padding: 0 20px;
    height: 70px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    font-weight: 600;
}

.nav-brand i {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: #1e3c72;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.user-info div {
    line-height: 1.3;
}

.user-info div div {
    font-weight: 500;
}

.user-info small {
    opacity: 0.8;
    font-size: 12px;
}

/* Dashboard Container */
.dashboard-container {
    display: flex;
    min-height: calc(100vh - 70px);
}

/* Dashboard Sidebar */
.dashboard-sidebar {
    width: 250px;
    background: #f8f9fa;
    border-right: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
}

.sidebar-menu {
    padding: 20px 0;
    flex: 1;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.sidebar-item:hover {
    background: #e9ecef;
    color: #1e3c72;
}

.sidebar-item.active {
    background: #e3f2fd;
    color: #1e3c72;
    border-left-color: #1e3c72;
    font-weight: 500;
}

.sidebar-item i {
    width: 20px;
    text-align: center;
}

.sidebar-item .badge {
    margin-left: auto;
    background: #dc3545;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    background: white;
}

.help-section h4 {
    margin: 0 0 10px 0;
    color: #1e3c72;
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-section p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.help-section small {
    font-size: 12px;
    color: #888;
}

/* Dashboard Content */
.dashboard-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    background: #f8f9fa;
}

.dashboard-welcome {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.dashboard-welcome h1 {
    color: #1e3c72;
    margin: 0 0 10px 0;
    font-size: 28px;
}

.dashboard-welcome p {
    color: #666;
    margin: 0 0 15px 0;
}

.last-login {
    color: #888;
    font-size: 14px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-icon.applications { background: #e3f2fd; color: #1976d2; }
.stat-icon.interviews { background: #f3e5f5; color: #7b1fa2; }
.stat-icon.offers { background: #e8f5e9; color: #388e3c; }
.stat-icon.profile { background: #fff3e0; color: #f57c00; }

.stat-info h3 {
    margin: 0;
    font-size: 28px;
    color: #333;
    font-weight: 600;
}

.stat-info p {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 14px;
}

/* Quick Actions */
.quick-actions {
    margin-bottom: 40px;
}

.quick-actions h2 {
    color: #1e3c72;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.action-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    color: #1e3c72;
}

.action-card i {
    font-size: 32px;
    color: #1e3c72;
    margin-bottom: 15px;
    display: block;
}

.action-card span {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 16px;
}

.action-card small {
    color: #666;
    font-size: 14px;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    color: #1e3c72;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
}

/* Recent Applications */
.recent-applications {
    margin-bottom: 40px;
}

.applications-list {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.application-card {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    transition: background 0.3s;
}

.application-card:hover {
    background: #f8f9fa;
}

.application-card:last-child {
    border-bottom: none;
}

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

.application-header h4 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.application-body p {
    margin: 8px 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.application-body i {
    color: #888;
    width: 16px;
}

.application-footer {
    margin-top: 15px;
}

/* Recommended Jobs */
.recommended-jobs {
    margin-bottom: 40px;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.job-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.job-header {
    padding: 25px 25px 15px 25px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.job-title {
    margin: 0 0 10px 0;
    color: #1e3c72;
    font-size: 20px;
    font-weight: 600;
}

.job-department {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.job-body {
    padding: 20px 25px;
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.job-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.job-detail i {
    color: #888;
}

.job-description {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 15px;
}

.job-footer {
    padding: 20px 25px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.deadline {
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.deadline span {
    color: #dc3545;
    font-weight: 500;
}

/* Application Tips */
.application-tips {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.application-tips h2 {
    color: #1e3c72;
    margin: 0 0 25px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.tip-card {
    text-align: center;
    padding: 20px;
}

.tip-card i {
    font-size: 36px;
    color: #1e3c72;
    margin-bottom: 15px;
    display: block;
}

.tip-card h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
}

.tip-card p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* ============================================
   JOBS PAGE STYLES
   ============================================ */

.jobs-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    background: #f8f9fa;
}

.page-header {
    margin-bottom: 30px;
}

.page-header h1 {
    color: #1e3c72;
    margin: 0 0 10px 0;
    font-size: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-header p {
    color: #666;
    margin: 0;
}

/* Search and Filters */
.search-filters {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-box {
    position: relative;
    margin-bottom: 25px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.search-box input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: #1e3c72;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

/* Job Statistics */
.job-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stat-item i {
    font-size: 32px;
    color: #1e3c72;
}

.stat-item h3 {
    margin: 0;
    font-size: 28px;
    color: #333;
    font-weight: 600;
}

.stat-item p {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 14px;
}

/* Jobs List Container */
.jobs-list-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.jobs-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.jobs-list-header h2 {
    margin: 0;
    color: #1e3c72;
    font-size: 24px;
}

.view-toggle {
    display: flex;
    gap: 10px;
}

.view-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    color: #666;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.view-btn.active {
    background: #1e3c72;
    color: white;
    border-color: #1e3c72;
}

.view-btn:hover:not(.active) {
    background: #f8f9fa;
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner .spinner {
    width: 50px;
    height: 50px;
    border-width: 4px;
    margin: 0 auto 20px;
}

.loading-spinner p {
    color: #666;
    margin: 0;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state i {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h3 {
    margin: 0 0 10px 0;
    color: #555;
    font-size: 20px;
}

.empty-state p {
    margin: 0 0 20px 0;
}

/* Job Requirements */
.job-requirements {
    margin-top: 15px;
}

.job-requirements h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.job-requirements ul {
    margin: 0;
    padding-left: 20px;
    color: #666;
}

.job-requirements li {
    margin-bottom: 5px;
    font-size: 14px;
}

/* Pagination */
.jobs-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.pagination-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.pagination-btn:hover:not(:disabled) {
    background: #f8f9fa;
    border-color: #1e3c72;
    color: #1e3c72;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 5px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.page-btn:hover {
    background: #f8f9fa;
}

.page-btn.active {
    background: #1e3c72;
    color: white;
    border-color: #1e3c72;
}

.page-dots {
    display: flex;
    align-items: center;
    padding: 0 10px;
    color: #666;
}

/* Application Tips Section */
.application-tips-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.application-tips-section h3 {
    margin: 0 0 25px 0;
    color: #1e3c72;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
}

.tips-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.tip {
    text-align: center;
    padding: 20px;
}

.tip i {
    font-size: 36px;
    color: #28a745;
    margin-bottom: 15px;
    display: block;
}

.tip h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
}

.tip p {
    margin: 0;
    color: #666;
    line-height: 1.5;
    font-size: 14px;
}

/* ============================================
   MY APPLICATIONS PAGE STYLES
   ============================================ */

.applications-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    background: #f8f9fa;
}

/* Application Stats */
.application-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.application-stats .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
}

.application-stats .stat-icon.total { background: #e3f2fd; color: #1976d2; }
.application-stats .stat-icon.pending { background: #fff3cd; color: #856404; }
.application-stats .stat-icon.shortlisted { background: #d4edda; color: #155724; }
.application-stats .stat-icon.rejected { background: #f8d7da; color: #721c24; }

/* Application Filters */
.application-filters {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.application-filters .search-box {
    margin-bottom: 0;
}

/* Applications Timeline */
.applications-timeline {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.applications-timeline h2 {
    margin: 0 0 25px 0;
    color: #1e3c72;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
}

.timeline-container {
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.timeline-item {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.timeline-marker {
    width: 60px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.timeline-marker i {
    width: 30px;
    height: 30px;
    background: white;
    border: 2px solid #1e3c72;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e3c72;
}

.timeline-content {
    flex: 1;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-left: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.timeline-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.timeline-body p {
    margin: 8px 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-body i {
    color: #888;
    width: 16px;
}

.application-feedback,
.interview-details {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid #1e3c72;
}

.application-feedback h4,
.interview-details h4 {
    margin: 0 0 10px 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.timeline-footer {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

/* Status Guide */
.tips-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tips-section h3 {
    margin: 0 0 25px 0;
    color: #1e3c72;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
}

.status-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.status-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-reviewing { background: #cce5ff; color: #004085; }
.status-shortlisted { background: #d4edda; color: #155724; }
.status-interview { background: #d1ecf1; color: #0c5460; }
.status-rejected { background: #f8d7da; color: #721c24; }
.status-hired { background: #d4edda; color: #155724; }

.status-item p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 992px) {
    .dashboard-container {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding: 10px 0;
    }
    
    .sidebar-menu {
        display: flex;
        padding: 0;
        overflow-x: auto;
    }
    
    .sidebar-item {
        flex-shrink: 0;
        border-left: none;
        border-bottom: 4px solid transparent;
        padding: 15px 20px;
    }
    
    .sidebar-item.active {
        border-left: none;
        border-bottom-color: #1e3c72;
    }
    
    .sidebar-footer {
        display: none;
    }
}

@media (max-width: 768px) {
    .dashboard-content {
        padding: 20px;
    }
    
    .stats-grid,
    .actions-grid,
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .job-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-marker {
        width: 40px;
    }
}

@media (max-width: 576px) {
    .dashboard-nav {
        padding: 0 15px;
        height: auto;
        padding: 15px 0;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        width: 100%;
        justify-content: space-between;
    }
    
    .dashboard-welcome {
        padding: 20px;
    }
    
    .application-filters {
        grid-template-columns: 1fr;
    }
}
/* ============================================
   APPLICANT DASHBOARD - COMPLETE STYLES
   ============================================ */

/* Dashboard Layout */
.applicant-dashboard {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
}

/* Navigation Bar */
.dashboard-nav {
    background: #1e3c72;
    color: white;
    padding: 0 30px;
    height: 70px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    font-weight: 600;
}

.nav-brand i {
    font-size: 28px;
    color: #4CAF50;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 30px;
    transition: background 0.3s;
}

.user-info:hover {
    background: rgba(255,255,255,0.2);
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.user-info div {
    line-height: 1.4;
}

.user-info div div {
    font-weight: 500;
    font-size: 14px;
}

.user-info small {
    opacity: 0.8;
    font-size: 12px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 20px;
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
}

/* Dashboard Container */
.dashboard-container {
    display: flex;
    min-height: calc(100vh - 70px);
}

/* Sidebar */
.dashboard-sidebar {
    width: 280px;
    background: white;
    border-right: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
}

.sidebar-menu {
    padding: 30px 0;
    flex: 1;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 30px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 4px solid transparent;
    position: relative;
}

.sidebar-item:hover {
    background: #f8f9fa;
    color: #1e3c72;
    border-left-color: #1e3c72;
}

.sidebar-item.active {
    background: linear-gradient(90deg, rgba(30, 60, 114, 0.1) 0%, rgba(30, 60, 114, 0.05) 100%);
    color: #1e3c72;
    border-left-color: #1e3c72;
    font-weight: 600;
}

.sidebar-item i {
    width: 20px;
    text-align: center;
    font-size: 18px;
}

.badge {
    margin-left: auto;
    background: #dc3545;
    color: white;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    min-width: 25px;
    text-align: center;
    font-weight: 600;
}

.sidebar-footer {
    padding: 25px 30px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

.help-section h4 {
    margin: 0 0 15px 0;
    color: #1e3c72;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.help-section h4 i {
    color: #4CAF50;
}

.help-section p {
    margin: 8px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.help-section small {
    font-size: 12px;
    color: #888;
}

/* Main Content Area */
.dashboard-content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    background: #f8f9fa;
}

/* Welcome Section */
.dashboard-welcome {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.3);
    position: relative;
    overflow: hidden;
}

.dashboard-welcome::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="white" opacity="0.1"/></svg>') no-repeat;
    background-size: contain;
}

.dashboard-welcome h1 {
    margin: 0 0 15px 0;
    font-size: 32px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.dashboard-welcome h1 span {
    color: #4CAF50;
}

.dashboard-welcome p {
    margin: 0 0 20px 0;
    font-size: 18px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.last-login {
    font-size: 14px;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 25px;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: #1e3c72;
}

.stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-icon.applications { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stat-icon.interviews { 
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.stat-icon.offers { 
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.stat-icon.profile { 
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.stat-info h3 {
    margin: 0;
    font-size: 32px;
    color: #333;
    font-weight: 700;
    line-height: 1;
}

.stat-info p {
    margin: 8px 0 0 0;
    color: #666;
    font-size: 15px;
    font-weight: 500;
}

/* Quick Actions */
.quick-actions {
    background: white;
    padding: 35px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.quick-actions h2 {
    color: #1e3c72;
    margin: 0 0 30px 0;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.quick-actions h2 i {
    color: #FFC107;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.action-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.action-card:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #1e3c72;
    color: #1e3c72;
}

.action-card i {
    font-size: 40px;
    color: #1e3c72;
    margin-bottom: 20px;
    display: block;
    transition: transform 0.3s;
}

.action-card:hover i {
    transform: scale(1.2);
}

.action-card span {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 18px;
}

.action-card small {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header h2 {
    color: #1e3c72;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
}

/* Recent Applications */
.recent-applications {
    background: white;
    padding: 35px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.applications-list {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
}

.application-card {
    padding: 25px 30px;
    border-bottom: 1px solid #e9ecef;
    transition: background 0.3s;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.application-card:hover {
    background: white;
}

.application-card:last-child {
    border-bottom: none;
}

.application-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.application-header h4 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.status-badge {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-reviewing { background: #cce5ff; color: #004085; }
.status-shortlisted { background: #d4edda; color: #155724; }
.status-interview { background: #d1ecf1; color: #0c5460; }
.status-rejected { background: #f8d7da; color: #721c24; }

.application-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.application-body p {
    margin: 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.application-body i {
    color: #888;
    width: 16px;
    text-align: center;
}

.application-footer {
    display: flex;
    gap: 15px;
}

/* Recommended Jobs */
.recommended-jobs {
    background: white;
    padding: 35px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.job-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #1e3c72;
}

.job-header {
    padding: 30px 30px 20px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.job-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.job-title {
    margin: 0 0 15px 0;
    font-size: 22px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.job-department {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px);
}

.job-body {
    padding: 25px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.job-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.job-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

.job-detail i {
    color: #1e3c72;
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.job-description {
    color: #555;
    line-height: 1.7;
    font-size: 15px;
    margin: 0;
}

.job-footer {
    padding: 25px 30px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.deadline {
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.deadline i {
    color: #dc3545;
}

.deadline span {
    color: #dc3545;
    font-weight: 700;
}

/* Application Tips */
.application-tips {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.application-tips h2 {
    color: #1e3c72;
    margin: 0 0 35px 0;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.application-tips h2 i {
    color: #FFC107;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.tip-card {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s;
}

.tip-card:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.tip-card i {
    font-size: 42px;
    color: #1e3c72;
    margin-bottom: 20px;
    display: block;
    transition: transform 0.3s;
}

.tip-card:hover i {
    transform: scale(1.2);
}

.tip-card h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.tip-card p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 30px;
    color: #666;
}

.empty-state i {
    font-size: 70px;
    color: #ddd;
    margin-bottom: 25px;
    display: block;
}

.empty-state h3 {
    margin: 0 0 15px 0;
    color: #555;
    font-size: 22px;
    font-weight: 600;
}

.empty-state p {
    margin: 0 0 25px 0;
    font-size: 16px;
    line-height: 1.6;
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 60px 30px;
}

.spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 4px solid rgba(30, 60, 114, 0.1);
    border-radius: 50%;
    border-top-color: #1e3c72;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-spinner p {
    color: #666;
    margin: 0;
    font-size: 16px;
}

/* Alert Messages */
.alert {
    padding: 20px 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideDown 0.3s ease;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 5px solid #dc3545;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 5px solid #28a745;
}

.alert i {
    font-size: 20px;
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .dashboard-container {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding: 15px 0;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    .sidebar-menu {
        display: flex;
        padding: 0;
        overflow-x: auto;
    }
    
    .sidebar-item {
        flex-shrink: 0;
        border-left: none;
        border-bottom: 4px solid transparent;
        padding: 15px 25px;
        white-space: nowrap;
    }
    
    .sidebar-item.active {
        border-left: none;
        border-bottom-color: #1e3c72;
    }
    
    .sidebar-footer {
        display: none;
    }
    
    .dashboard-content {
        padding: 30px;
    }
}

@media (max-width: 992px) {
    .dashboard-nav {
        padding: 0 20px;
        height: auto;
        padding: 15px 0;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        width: 100%;
        justify-content: space-between;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-content {
        padding: 20px;
    }
    
    .dashboard-welcome {
        padding: 30px;
    }
    
    .dashboard-welcome h1 {
        font-size: 26px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .job-details {
        grid-template-columns: 1fr;
    }
    
    .job-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .application-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .dashboard-welcome {
        padding: 25px;
    }
    
    .dashboard-welcome h1 {
        font-size: 22px;
    }
    
    .stat-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .action-card {
        padding: 25px;
    }
    
    .quick-actions,
    .recent-applications,
    .recommended-jobs,
    .application-tips {
        padding: 25px;
    }
    
    .job-header,
    .job-body,
    .job-footer {
        padding: 20px;
    }
    
    .alert {
        padding: 15px;
        font-size: 14px;
    }
}

/* Print Styles */
@media print {
    .dashboard-nav,
    .dashboard-sidebar,
    .btn,
    .job-footer .btn {
        display: none !important;
    }
    
    .dashboard-container {
        display: block;
    }
    
    .dashboard-content {
        padding: 0;
        background: white;
    }
    
    .stat-card,
    .job-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
/* ===== LOGIN PAGE SPECIFIC STYLES ===== */
.login-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
    display: flex;
    min-height: 100vh;
}

.login-branding {
    flex: 1;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.brand-logo i {
    font-size: 48px;
}

.brand-logo h1 {
    font-size: 42px;
    margin: 0;
    font-weight: 700;
}

.brand-text h2 {
    font-size: 28px;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.brand-text p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0 0 40px 0;
}

.system-features {
    margin: 40px 0;
}

.system-features h3 {
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.system-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.system-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.system-features i {
    color: #4CAF50;
}

.login-footer {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.login-footer .small {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 10px;
}

.login-form-panel {
    flex: 1;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-form-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    color: #1e3c72;
    margin: 0 0 10px 0;
    font-size: 28px;
}

.form-header p {
    color: #666;
    margin: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #1e3c72;
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

.password-toggle {
    margin-top: 5px;
    text-align: right;
}

.btn-text {
    background: none;
    border: none;
    color: #1e3c72;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
}

.btn-text:hover {
    text-decoration: underline;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.forgot-link {
    color: #1e3c72;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: #1e3c72;
    color: white;
}

.btn-primary:hover {
    background: #2a5298;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-outline {
    background: white;
    color: #1e3c72;
    border: 2px solid #1e3c72;
}

.btn-outline:hover {
    background: #1e3c72;
    color: white;
}

.btn-block {
    width: 100%;
}

.login-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.login-divider span {
    background: white;
    padding: 0 20px;
    color: #666;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
}

.alternative-login {
    text-align: center;
    margin: 30px 0;
}

.e-citizen-btn {
    width: 100%;
    margin-bottom: 15px;
}

.login-note {
    margin: 30px 0;
}

.alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.alert-info {
    background: #e7f3ff;
    color: #0c5460;
    border-left: 4px solid #1e3c72;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.security-tips {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #28a745;
}

.security-tips h4 {
    margin: 0 0 15px 0;
    color: #155724;
    display: flex;
    align-items: center;
    gap: 10px;
}

.security-tips ul {
    margin: 0;
    padding-left: 20px;
}

.security-tips li {
    margin-bottom: 8px;
    color: #155724;
}

.user-type-links {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.user-type-links p {
    margin-bottom: 15px;
    color: #666;
}

.small {
    font-size: 14px;
    color: #666;
}

/* Responsive design */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
    }
    
    .login-branding {
        padding: 30px;
    }
    
    .login-form-panel {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .login-form-container {
        padding: 20px;
    }
    
    .form-header h2 {
        font-size: 24px;
    }
}
/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1e3c72;
    --primary-light: #2a5298;
    --primary-dark: #0f2b4f;
    --secondary: #6c757d;
    --success: #28a745;
    --success-dark: #218838;
    --warning: #ffc107;
    --warning-dark: #e0a800;
    --danger: #dc3545;
    --danger-dark: #c82333;
    --info: #17a2b8;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --gray-dark: #495057;
    --sidebar-width: 250px;
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    --box-shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.text-muted {
    color: var(--gray);
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

.text-warning {
    color: var(--warning);
}

.text-primary {
    color: var(--primary);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
    line-height: 1.5;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.btn-success {
    background-color: var(--success);
    color: white;
}

.btn-success:hover:not(:disabled) {
    background-color: var(--success-dark);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.btn-danger {
    background-color: var(--danger);
    color: white;
}

.btn-danger:hover:not(:disabled) {
    background-color: var(--danger-dark);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.btn-warning {
    background-color: var(--warning);
    color: var(--dark);
}

.btn-warning:hover:not(:disabled) {
    background-color: var(--warning-dark);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover:not(:disabled) {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 16px;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-text {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 14px;
    padding: 5px;
}

.btn-text:hover {
    text-decoration: underline;
    color: var(--primary-light);
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.form-label i {
    margin-right: 5px;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-size: 14px;
    transition: var(--transition);
    background-color: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

.form-control.error {
    border-color: var(--danger);
}

.form-control.error:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 40px;
}

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

.form-text {
    font-size: 12px;
    color: var(--gray);
    margin-top: 5px;
    display: block;
}

.form-text i {
    margin-right: 3px;
}

.error-message {
    color: var(--danger);
    font-size: 12px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.input-group {
    position: relative;
}

.input-group .form-control {
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 5px;
}

.toggle-password:hover {
    color: var(--primary);
}

/* Password Strength */
.password-strength {
    margin-top: 10px;
}

.strength-bar {
    height: 5px;
    background: var(--gray-light);
    border-radius: 5px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    transition: width 0.3s, background 0.3s;
}

.strength-weak {
    background: var(--danger);
}

.strength-medium {
    background: var(--warning);
}

.strength-strong {
    background: var(--success);
}

.strength-text {
    font-size: 12px;
    margin-top: 5px;
    color: var(--gray);
}

/* Checkbox and Radio */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"],
.checkbox-item input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== CARDS ===== */
.card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--box-shadow-hover);
}

.card-header {
    border-bottom: 1px solid var(--gray-light);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h2, 
.card-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-body {
    padding: 0.5rem 0;
}

.card-footer {
    border-top: 1px solid var(--gray-light);
    padding-top: 1rem;
    margin-top: 1rem;
}

/* ===== TABLES ===== */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.table th {
    background-color: var(--primary);
    color: white;
    text-align: left;
    padding: 12px 15px;
    font-weight: 600;
    white-space: nowrap;
}

.table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--gray-light);
    vertical-align: middle;
}

.table tr:hover {
    background-color: var(--light);
}

.table-striped tr:nth-child(even) {
    background-color: var(--light);
}

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.badge-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.badge-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.badge-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.badge-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.badge-primary {
    background-color: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
}

.badge-secondary {
    background-color: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
}

/* Job Status Badges */
.status-active {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-draft {
    background-color: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.status-expired {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Urgent Badge */
.urgent-badge {
    background-color: var(--danger);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    margin-left: 5px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

/* ===== ALERTS ===== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideDown 0.3s ease;
    border-left: 4px solid transparent;
}

.alert i {
    font-size: 1.2rem;
}

.alert-success {
    background-color: #d4edda;
    border-left-color: var(--success);
    color: #155724;
}

.alert-warning {
    background-color: #fff3cd;
    border-left-color: var(--warning);
    color: #856404;
}

.alert-danger {
    background-color: #f8d7da;
    border-left-color: var(--danger);
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    border-left-color: var(--info);
    color: #0c5460;
}

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

/* ===== NAVIGATION ===== */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand i {
    font-size: 2rem;
    color: var(--primary);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Dashboard Navigation */
.dashboard-nav {
    background: var(--primary);
    color: white;
    padding: 0 20px;
    height: 70px;
    display: flex;
    align-items: center;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    font-weight: 600;
    color: white;
}

.nav-brand i {
    font-size: 28px;
    color: var(--warning);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* User Info */
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 30px;
    transition: var(--transition);
}

.user-info:hover {
    background: rgba(255,255,255,0.2);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--warning), var(--danger));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.user-info div {
    line-height: 1.3;
    color: white;
}

.user-info small {
    opacity: 0.8;
    font-size: 12px;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* ===== SIDEBAR ===== */
.dashboard-sidebar {
    width: var(--sidebar-width);
    background: white;
    border-right: 1px solid var(--gray-light);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    overflow-y: auto;
}

.sidebar-menu {
    padding: 20px 0;
    flex: 1;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 25px;
    color: var(--gray-dark);
    text-decoration: none;
    transition: var(--transition);
    border-left: 4px solid transparent;
    position: relative;
}

.sidebar-item:hover {
    background: var(--light);
    color: var(--primary);
    border-left-color: var(--primary);
}

.sidebar-item.active {
    background: linear-gradient(90deg, rgba(30, 60, 114, 0.1) 0%, rgba(30, 60, 114, 0.05) 100%);
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 500;
}

.sidebar-item i {
    width: 20px;
    text-align: center;
    font-size: 18px;
}

.sidebar-item .badge {
    margin-left: auto;
    background: var(--danger);
    color: white;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--gray-light);
    background: var(--light);
}

.help-section h4 {
    margin: 0 0 10px 0;
    color: var(--primary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-section p {
    margin: 5px 0;
    font-size: 12px;
    color: var(--gray);
}

/* ===== MAIN CONTENT ===== */
.dashboard-container {
    display: flex;
    min-height: calc(100vh - 70px);
}

.jobs-content,
.dashboard-content,
.applications-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    background: var(--light);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
}

.page-header h1 {
    color: var(--primary);
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-header p {
    color: var(--gray);
    margin: 0;
    font-size: 16px;
}

/* ===== STATS CARDS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-icon.jobs { background: #e3f2fd; color: #1976d2; }
.stat-icon.apps { background: #f3e5f5; color: #7b1fa2; }
.stat-icon.short { background: #e8f5e9; color: #388e3c; }
.stat-icon.inter { background: #fff3e0; color: #f57c00; }

.stat-info h3 {
    font-size: 2rem;
    margin: 0;
    color: var(--dark);
}

.stat-info p {
    color: var(--gray);
    margin: 5px 0 0 0;
    font-size: 14px;
}

/* Job Statistics */
.job-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.stat-item i {
    font-size: 32px;
    color: var(--primary);
    background: rgba(30, 60, 114, 0.1);
    padding: 15px;
    border-radius: 12px;
}

.stat-item h3 {
    margin: 0;
    font-size: 28px;
    color: var(--dark);
    font-weight: 700;
}

.stat-item p {
    margin: 5px 0 0 0;
    color: var(--gray);
    font-size: 14px;
}

/* ===== SEARCH AND FILTERS ===== */
.search-filters {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
}

.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 16px;
}

.search-box input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

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

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.filter-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* ===== JOBS GRID ===== */
.jobs-list-container {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
}

.jobs-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.jobs-list-header h2 {
    margin: 0;
    color: var(--primary);
    font-size: 24px;
}

.jobs-list-header h2 small {
    font-size: 14px;
    color: var(--gray);
    font-weight: normal;
    margin-left: 10px;
}

.view-toggle {
    display: flex;
    gap: 10px;
    background: var(--light);
    padding: 5px;
    border-radius: var(--border-radius);
}

.view-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: var(--gray);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.view-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--box-shadow);
}

.view-btn:hover:not(.active) {
    background: rgba(255,255,255,0.5);
    color: var(--dark);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.jobs-list {
    display: none;
}

.jobs-list.active {
    display: block;
}

.jobs-list .job-card {
    display: flex;
    margin-bottom: 20px;
}

.jobs-list .job-header {
    width: 250px;
    flex-shrink: 0;
}

.jobs-list .job-body {
    flex: 1;
}

/* Job Cards */
.job-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary);
}

.job-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 20px;
    position: relative;
}

.job-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    padding-right: 30px;
}

.job-department {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.bookmark-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 5;
}

.bookmark-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.bookmark-btn.bookmarked {
    color: var(--warning);
    background: rgba(255,255,255,0.3);
}

.job-status-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
}

.job-body {
    padding: 20px;
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.job-detail {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gray);
    font-size: 13px;
}

.job-detail i {
    color: var(--primary);
    width: 16px;
}

.job-description {
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

.job-requirements {
    background: var(--light);
    padding: 15px;
    border-radius: var(--border-radius);
}

.job-requirements h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-requirements ul {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    color: var(--gray);
}

.job-requirements li {
    margin-bottom: 5px;
}

.applicants-count {
    font-size: 12px;
    color: var(--gray);
    margin-left: 10px;
    background: var(--light);
    padding: 2px 8px;
    border-radius: 10px;
}

.job-footer {
    padding: 20px;
    background: var(--light);
    border-top: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.deadline {
    font-size: 13px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

.deadline i {
    color: var(--danger);
}

.deadline span {
    font-weight: 600;
    color: var(--danger);
}

/* Expired Overlay */
.expired-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    z-index: 10;
    border-radius: var(--border-radius);
    backdrop-filter: blur(2px);
}

.expired-text {
    background: var(--danger);
    padding: 15px 30px;
    border-radius: 30px;
    transform: rotate(-5deg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Profile Warning */
.profile-complete-warning {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: var(--border-radius);
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #856404;
    animation: slideDown 0.3s ease;
}

.profile-complete-warning i {
    font-size: 24px;
}

.profile-complete-warning p {
    flex: 1;
    margin: 0;
}

.profile-complete-warning .btn {
    background: var(--warning);
    color: var(--dark);
    border: none;
    padding: 8px 16px;
}

/* ===== PAGINATION ===== */
.jobs-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-light);
}

.pagination-btn {
    padding: 10px 20px;
    border: 1px solid var(--gray-light);
    background: white;
    color: var(--dark);
    border-radius: var(--border-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 5px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-light);
    background: white;
    color: var(--dark);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.page-btn:hover {
    background: var(--light);
    border-color: var(--primary);
}

.page-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.page-dots {
    display: flex;
    align-items: center;
    padding: 0 10px;
    color: var(--gray);
}

/* ===== LOADING STATES ===== */
.loading-spinner {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}

.spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 4px solid rgba(30, 60, 114, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-spinner p {
    margin: 0;
    font-size: 16px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}

.empty-state i {
    font-size: 64px;
    color: var(--gray-light);
    margin-bottom: 20px;
    display: block;
}

.empty-state h3 {
    margin: 0 0 10px 0;
    color: var(--dark);
    font-size: 20px;
}

.empty-state p {
    margin: 0 0 20px 0;
    font-size: 16px;
}

/* ===== APPLICATION TIPS ===== */
.application-tips-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.application-tips-section h3 {
    margin: 0 0 25px 0;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
}

.tips-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.tip {
    text-align: center;
    padding: 25px;
    background: var(--light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.tip:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.tip i {
    font-size: 40px;
    color: var(--success);
    margin-bottom: 15px;
    display: block;
}

.tip h4 {
    margin: 0 0 10px 0;
    color: var(--dark);
    font-size: 18px;
}

.tip p {
    margin: 0;
    color: var(--gray);
    line-height: 1.6;
    font-size: 14px;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: modalPop 0.3s ease;
}

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

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light);
}

.modal-header h3 {
    margin: 0;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-light);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: var(--light);
}

/* ===== SKILL TAGS ===== */
.skill-tag {
    display: inline-block;
    background: #e3f2fd;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin: 2px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

/* ===== RESPONSIVE UTILITIES ===== */
.d-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.ml-auto {
    margin-left: auto;
}

.mr-auto {
    margin-right: auto;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .dashboard-container {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding: 10px 0;
        border-right: none;
        border-bottom: 1px solid var(--gray-light);
        height: auto;
        position: static;
    }
    
    .sidebar-menu {
        display: flex;
        padding: 0;
        overflow-x: auto;
    }
    
    .sidebar-item {
        flex-shrink: 0;
        border-left: none;
        border-bottom: 4px solid transparent;
        padding: 15px 20px;
        white-space: nowrap;
    }
    
    .sidebar-item.active {
        border-left: none;
        border-bottom-color: var(--primary);
    }
    
    .sidebar-footer {
        display: none;
    }
}

@media (max-width: 992px) {
    .navbar-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .dashboard-nav {
        height: auto;
        padding: 15px 20px;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        width: 100%;
        justify-content: space-between;
    }
    
    .jobs-list .job-card {
        flex-direction: column;
    }
    
    .jobs-list .job-header {
        width: 100%;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .jobs-content,
    .dashboard-content,
    .applications-content {
        padding: 20px;
    }
    
    .page-header {
        padding: 20px;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .stats-grid,
    .job-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .jobs-list-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .job-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .profile-complete-warning {
        flex-direction: column;
        text-align: center;
    }
    
    .tips-list {
        grid-template-columns: 1fr;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .filter-actions .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .user-info {
        width: 100%;
        justify-content: center;
    }
    
    .jobs-pagination {
        flex-wrap: wrap;
    }
    
    .page-numbers {
        order: -1;
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .job-details {
        flex-direction: column;
        gap: 8px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-item i {
        font-size: 24px;
        padding: 12px;
    }
    
    .stat-item h3 {
        font-size: 24px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .dashboard-nav,
    .dashboard-sidebar,
    .btn,
    .job-footer .btn,
    .view-toggle,
    .filter-actions,
    .pagination-btn {
        display: none !important;
    }
    
    .dashboard-container {
        display: block;
    }
    
    .jobs-content {
        padding: 0;
        background: white;
    }
    
    .job-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
        margin-bottom: 20px;
    }
    
    .page-header {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1e3c72;
    --primary-light: #2a5298;
    --primary-dark: #0f2b4f;
    --secondary: #6c757d;
    --success: #28a745;
    --success-dark: #218838;
    --warning: #ffc107;
    --warning-dark: #e0a800;
    --danger: #dc3545;
    --danger-dark: #c82333;
    --info: #17a2b8;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --gray-dark: #495057;
    --sidebar-width: 260px;
    --border-radius: 12px;
    --box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    --box-shadow-hover: 0 8px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9edf5 100%);
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }

p { margin-bottom: 1rem; }

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

a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.text-muted { color: var(--gray); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-primary { color: var(--primary); }

/* ===== LOADING STATES ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.loading-overlay.show {
    display: flex;
}

.loading-spinner {
    text-align: center;
    background: white;
    padding: 40px 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 1px solid rgba(30, 60, 114, 0.1);
}

.loading-spinner .spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e3e8ef;
    border-top-color: var(--primary);
    border-right-color: var(--primary-light);
    border-bottom-color: var(--primary-light);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-spinner p {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.loading-spinner .loading-text {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: normal;
}

/* ===== ALERT CONTAINER ===== */
.alert-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9998;
    max-width: 400px;
}

.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInRight 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-left: 4px solid;
    background: white;
}

.alert i {
    font-size: 1.3rem;
}

.alert-success {
    border-left-color: var(--success);
    color: #155724;
}

.alert-success i {
    color: var(--success);
}

.alert-warning {
    border-left-color: var(--warning);
    color: #856404;
}

.alert-warning i {
    color: var(--warning);
}

.alert-danger {
    border-left-color: var(--danger);
    color: #721c24;
}

.alert-danger i {
    color: var(--danger);
}

.alert-info {
    border-left-color: var(--info);
    color: #0c5460;
}

.alert-info i {
    color: var(--info);
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.3);
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 60, 114, 0.4);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover:not(:disabled) {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success);
    color: white;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-success:hover:not(:disabled) {
    background: var(--success-dark);
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--danger);
    color: white;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover:not(:disabled) {
    background: var(--danger-dark);
    transform: translateY(-2px);
}

.btn-warning {
    background: var(--warning);
    color: var(--dark);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.btn-warning:hover:not(:disabled) {
    background: var(--warning-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover:not(:disabled) {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
    border-radius: 30px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn-text {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 5px;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--danger);
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

.form-label i {
    margin-right: 6px;
    color: var(--primary);
    width: 18px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-size: 0.95rem;
    transition: var(--transition);
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(30, 60, 114, 0.1);
}

.form-control.error {
    border-color: var(--danger);
}

.form-control.error:focus {
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 45px;
}

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

.form-text {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 6px;
    display: block;
}

.form-text i {
    margin-right: 4px;
}

.error-message {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.input-group {
    position: relative;
}

.input-group .form-control {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 5px;
    font-size: 1.1rem;
}

.toggle-password:hover {
    color: var(--primary);
}

/* ===== NAVIGATION ===== */
.dashboard-nav {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
}

.nav-brand i {
    font-size: 2rem;
    color: var(--warning);
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.15);
    padding: 6px 16px 6px 6px;
    border-radius: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}

.user-info:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--warning), #ff9800);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.user-info div {
    line-height: 1.3;
}

.user-info div div {
    font-weight: 600;
    font-size: 0.95rem;
    color: white;
}

.user-info small {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.9);
}

/* ===== DASHBOARD LAYOUT ===== */
.dashboard-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
    gap: 24px;
}

/* ===== SIDEBAR ===== */
.dashboard-sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    height: calc(100vh - 118px);
    position: sticky;
    top: 94px;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;
}

.sidebar-menu {
    padding: 24px 0;
    flex: 1;
}

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    margin-bottom: 4px;
    position: relative;
    overflow: hidden;
}

.sidebar-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.sidebar-item:hover::before {
    left: 100%;
}

.sidebar-item:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    transform: translateX(5px);
}

.sidebar-item.active {
    background: rgba(255,255,255,0.15);
    color: white;
    border-left-color: white;
    font-weight: 600;
}

.sidebar-item i {
    width: 24px;
    font-size: 1.2rem;
    margin-right: 12px;
    text-align: center;
    color: rgba(255,255,255,0.9);
}

.sidebar-item .badge {
    margin-left: auto;
    background: var(--warning);
    color: var(--dark);
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.sidebar-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255,255,255,0.2);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.help-section {
    background: rgba(255, 255, 255, 0.15);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.help-section h4 {
    margin: 0 0 12px 0;
    font-size: 1rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.help-section h4 i {
    color: var(--warning);
    font-size: 1.1rem;
}

.help-section p {
    margin: 10px 0;
    color: white;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.help-section p i {
    width: 16px;
    color: var(--warning);
    font-size: 0.9rem;
}

.help-section small {
    color: rgba(255,255,255,0.9);
    font-size: 0.75rem;
    display: block;
    margin-top: 12px;
    font-weight: 400;
    background: rgba(0,0,0,0.2);
    padding: 6px 12px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* ===== MAIN CONTENT ===== */
.jobs-content,
.dashboard-content,
.applications-content,
.interviews-content,
.profile-content,
.bookmarks-content,
.documents-content {
    flex: 1;
    min-width: 0;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(255,255,255,0.8);
}

.page-header h1 {
    color: var(--primary);
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 2rem;
    font-weight: 700;
}

.page-header p {
    color: var(--gray);
    margin: 0;
    font-size: 1rem;
}

/* ===== STATS CARDS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 18px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary);
}

.stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.stat-icon.applications { background: #e3f2fd; color: #1976d2; }
.stat-icon.interviews { background: #fff3cd; color: #856404; }
.stat-icon.offers { background: #d4edda; color: #155724; }
.stat-icon.profile { background: #f8d7da; color: #721c24; }
.stat-icon.jobs { background: #e3f2fd; color: #1976d2; }
.stat-icon.apps { background: #f3e5f5; color: #7b1fa2; }
.stat-icon.short { background: #e8f5e9; color: #388e3c; }
.stat-icon.inter { background: #fff3e0; color: #f57c00; }

.stat-info h3 {
    margin: 0;
    color: var(--dark);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-info p {
    margin: 8px 0 0 0;
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Job Statistics */
.job-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    background: white;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary);
}

.stat-item i {
    font-size: 2.2rem;
    color: var(--primary);
    background: rgba(30, 60, 114, 0.1);
    padding: 15px;
    border-radius: 14px;
}

.stat-item h3 {
    margin: 0;
    font-size: 2rem;
    color: var(--dark);
    font-weight: 700;
}

.stat-item p {
    margin: 5px 0 0 0;
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===== SEARCH AND FILTERS ===== */
.search-filters {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0,0,0,0.05);
}

.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 1.1rem;
}

.search-box input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border: 2px solid var(--gray-light);
    border-radius: 14px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--light);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(30, 60, 114, 0.1);
}

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

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

.filter-group label i {
    color: var(--primary);
    margin-right: 6px;
    width: 18px;
}

.filter-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* ===== JOB CARDS ===== */
.jobs-list-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0,0,0,0.05);
}

.jobs-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.jobs-list-header h2 {
    margin: 0;
    color: var(--primary);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.jobs-list-header h2 small {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: normal;
    margin-left: 10px;
}

.view-toggle {
    display: flex;
    gap: 8px;
    background: var(--light);
    padding: 5px;
    border-radius: 14px;
    border: 1px solid var(--gray-light);
}

.view-btn {
    padding: 10px 18px;
    border: none;
    background: transparent;
    color: var(--gray);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-weight: 500;
}

.view-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--box-shadow);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.job-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary);
}

.job-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 24px 24px 20px 24px;
    position: relative;
    border-bottom: 4px solid var(--warning);
}

.job-status-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0,0,0,0.4);
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 5;
}

.bookmark-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
    font-size: 1.1rem;
}

.bookmark-btn:hover {
    background: rgba(255,255,255,0.4);
    transform: scale(1.1);
}

.bookmark-btn.bookmarked {
    color: var(--warning);
    background: rgba(0,0,0,0.4);
    border-color: var(--warning);
}

.job-title {
    color: white !important;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 25px 0 10px 0;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    padding-right: 45px;
    word-break: break-word;
}

.job-department {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3);
}

.urgent-badge {
    background: var(--danger);
    color: white;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 8px;
    animation: pulse 1.5s infinite;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 2px 8px rgba(220,53,69,0.3);
    display: inline-block;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

.job-body {
    padding: 20px 24px;
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: #f0f4fa;
    border-radius: 14px;
    border: 1px solid #e0e8f0;
}

.job-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 500;
}

.job-detail i {
    color: var(--primary);
    width: 18px;
}

.job-description {
    color: #34495e;
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 0.95rem;
    background: #f9fbfd;
    padding: 14px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.job-requirements {
    background: #f0f4fa;
    padding: 16px;
    border-radius: 14px;
    margin-top: 16px;
    border: 1px solid #e0e8f0;
}

.job-requirements h4 {
    margin: 0 0 12px 0;
    font-size: 1rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.job-requirements ul {
    margin: 0;
    padding-left: 20px;
}

.job-requirements li {
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #2c3e50;
}

.job-requirements li strong {
    color: var(--primary);
    font-weight: 700;
}

.applicants-count {
    font-size: 0.85rem;
    color: var(--primary);
    margin-left: 10px;
    background: #e8f0fe;
    padding: 4px 12px;
    border-radius: 30px;
    font-weight: 600;
    border: 1px solid #cbd5e0;
}

.job-footer {
    padding: 20px 24px;
    background: #f8fafc;
    border-top: 2px solid #eef2f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.deadline {
    font-size: 0.95rem;
    color: #5a6c7e;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.deadline i {
    color: var(--danger);
}

.deadline span {
    font-weight: 700;
    color: var(--danger);
    background: #fff1f0;
    padding: 5px 12px;
    border-radius: 30px;
}

.expired-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.expired-text {
    background: var(--danger);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 10px 30px rgba(220,53,69,0.4);
    border: 2px solid rgba(255,255,255,0.3);
    transform: rotate(-5deg);
}

/* ===== PAGINATION ===== */
.jobs-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--gray-light);
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 10px 20px;
    border: 1px solid var(--gray-light);
    background: white;
    color: var(--dark);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-weight: 500;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.page-btn {
    width: 45px;
    height: 45px;
    border: 1px solid var(--gray-light);
    background: white;
    color: var(--dark);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.page-btn:hover {
    background: var(--light);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.page-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    font-weight: 700;
}

.page-dots {
    display: flex;
    align-items: center;
    padding: 0 10px;
    color: var(--gray);
}

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge {
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending,
.status-submitted {
    background: #fff3cd;
    color: #856404;
}

.status-reviewing,
.status-interview {
    background: #cce5ff;
    color: #004085;
}

.status-shortlisted,
.status-offered,
.status-hired {
    background: #d4edda;
    color: #155724;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.badge-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.badge-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.badge-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.badge-primary {
    background: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
}

.badge-secondary {
    background: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 60px 30px;
    color: var(--gray);
    background: white;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
}

.empty-state i {
    font-size: 4rem;
    color: var(--gray-light);
    margin-bottom: 20px;
    display: block;
}

.empty-state h3 {
    margin: 0 0 10px 0;
    color: var(--dark);
    font-size: 1.5rem;
}

.empty-state p {
    margin: 0 0 20px 0;
    font-size: 1rem;
}

/* ===== PROFILE WARNING ===== */
.profile-warning,
.profile-complete-warning {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 16px;
    padding: 16px 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #856404;
    animation: slideDown 0.3s ease;
}

.profile-warning i,
.profile-complete-warning i {
    font-size: 1.5rem;
}

.profile-warning p,
.profile-complete-warning p {
    flex: 1;
    margin: 0;
}

.profile-warning .btn-warning,
.profile-complete-warning .btn-warning {
    background: var(--warning);
    color: var(--dark);
    border: none;
    padding: 8px 20px;
    white-space: nowrap;
    font-weight: 600;
    border-radius: 30px;
}

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

/* ===== APPLICATION TIPS ===== */
.application-tips-section,
.application-tips {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin-top: 30px;
}

.application-tips-section h3,
.application-tips h2 {
    margin: 0 0 25px 0;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
}

.tips-list,
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.tip,
.tip-card {
    padding: 24px;
    background: var(--light);
    border-radius: 16px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.tip:hover,
.tip-card:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary);
}

.tip i,
.tip-card i {
    font-size: 2rem;
    color: var(--success);
    margin-bottom: 15px;
    display: block;
}

.tip h4,
.tip-card h4 {
    margin: 0 0 10px 0;
    color: var(--dark);
    font-size: 1rem;
}

.tip p,
.tip-card p {
    margin: 0;
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== TABLES ===== */
.table-responsive {
    overflow-x: auto;
    border-radius: 16px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
}

.table th {
    background: var(--primary);
    color: white;
    text-align: left;
    padding: 16px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-light);
    color: var(--dark);
}

.table tr:hover {
    background: var(--light);
}

.table-striped tr:nth-child(even) {
    background: var(--light);
}

/* ===== SKILL TAGS ===== */
.skill-tag {
    display: inline-block;
    background: #e3f2fd;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 2px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 24px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: modalPop 0.3s ease;
}

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

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light);
}

.modal-header h3 {
    margin: 0;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 24px;
    border-top: 1px solid var(--gray-light);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: var(--light);
}

/* ===== RESPONSIVE UTILITIES ===== */
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .dashboard-container {
        flex-direction: column;
    }

    .dashboard-sidebar {
        width: 100%;
        height: auto;
        position: static;
        flex-direction: row;
        overflow-x: auto;
        padding: 0;
        background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
        border-radius: 16px;
    }

    .sidebar-menu {
        display: flex;
        flex-direction: row;
        padding: 0;
        overflow-x: auto;
        white-space: nowrap;
    }

    .sidebar-item {
        border-left: none;
        border-bottom: 4px solid transparent;
        padding: 15px 20px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .sidebar-item.active {
        border-left: none;
        border-bottom-color: white;
    }

    .sidebar-footer {
        display: none;
    }

    .alert-container {
        top: 70px;
    }
}

@media (max-width: 992px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
        gap: 15px;
    }

    .nav-menu {
        width: 100%;
        justify-content: space-between;
    }

    .filters-grid {
        grid-template-columns: 1fr;
    }

    .jobs-list .job-card {
        flex-direction: column;
    }

    .jobs-list .job-header {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 16px;
    }

    .page-header {
        padding: 20px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .stats-grid,
    .job-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .jobs-list-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .job-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .deadline {
        width: 100%;
        justify-content: space-between;
    }

    .job-footer .btn {
        width: 100%;
    }

    .profile-warning,
    .profile-complete-warning {
        flex-direction: column;
        text-align: center;
    }

    .filter-actions {
        flex-direction: column;
    }

    .filter-actions .btn {
        width: 100%;
    }

    .job-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }

    .user-info {
        width: 100%;
        justify-content: center;
    }

    .jobs-pagination {
        flex-direction: column;
    }

    .pagination-btn {
        width: 100%;
        justify-content: center;
    }

    .page-numbers {
        order: -1;
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }

    .job-details {
        flex-direction: column;
        gap: 8px;
    }

    .stat-item {
        padding: 16px;
    }

    .stat-item i {
        font-size: 1.8rem;
        padding: 12px;
    }

    .stat-item h3 {
        font-size: 1.8rem;
    }

    .view-toggle {
        width: 100%;
    }

    .view-btn {
        flex: 1;
        justify-content: center;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .dashboard-nav,
    .dashboard-sidebar,
    .btn,
    .job-footer .btn,
    .view-toggle,
    .filter-actions,
    .pagination-btn,
    .profile-warning,
    .profile-complete-warning {
        display: none !important;
    }

    .dashboard-container {
        display: block;
        padding: 0;
    }

    .job-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
        margin-bottom: 20px;
    }

    .page-header {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}


/* ===== ORPP RECRUITMENT SYSTEM STYLES ===== */
/* Corporate Colors: Royal Blue #20295c, Sky Blue #72B6D5, Gold #D8903b */

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

:root {
    --primary: #20295c;      /* Royal Blue */
    --primary-light: #72B6D5; /* Sky Blue */
    --primary-dark: #1a2250;
    --accent: #D8903b;        /* Gold */
    --accent-light: #e6a855;
    --accent-dark: #c47a2e;
    --success: #28a745;
    --success-dark: #218838;
    --warning: #ffc107;
    --warning-dark: #e0a800;
    --danger: #dc3545;
    --danger-dark: #c82333;
    --info: #17a2b8;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --gray-dark: #495057;
    --sidebar-width: 280px;
    --border-radius: 12px;
    --box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    --box-shadow-hover: 0 8px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 1.8rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

.text-muted { color: var(--gray); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--primary);
    color: white;
}
.btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(32, 41, 92, 0.3);
}

.btn-secondary {
    background: var(--gray);
    color: white;
}
.btn-secondary:hover:not(:disabled) {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success);
    color: white;
}
.btn-success:hover:not(:disabled) {
    background: var(--success-dark);
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--danger);
    color: white;
}
.btn-danger:hover:not(:disabled) {
    background: var(--danger-dark);
    transform: translateY(-2px);
}

.btn-warning {
    background: var(--warning);
    color: var(--dark);
}
.btn-warning:hover:not(:disabled) {
    background: var(--warning-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover:not(:disabled) {
    background: var(--primary);
    color: white;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 8px;
}

.btn-block {
    width: 100%;
}

.btn-text {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}
.btn-text:hover {
    color: var(--danger);
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
    font-size: 0.9rem;
}
.form-label i {
    color: var(--primary);
    margin-right: 5px;
    width: 18px;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-size: 14px;
    transition: var(--transition);
    background: white;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(32, 41, 92, 0.1);
}
.form-control.error {
    border-color: var(--danger);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 40px;
}

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

.form-text {
    font-size: 12px;
    color: var(--gray);
    margin-top: 5px;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.form-row .form-group {
    flex: 1;
    min-width: 200px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}
.form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}
.form-check-label {
    cursor: pointer;
    color: var(--dark);
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.radio-label input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary);
}

/* ===== CARDS ===== */
.card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 1.5rem;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}
.card:hover {
    box-shadow: var(--box-shadow-hover);
}
.card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.card-header h2, .card-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.card-body {
    padding: 1.5rem;
}
.card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--gray-light);
    background: var(--light);
}

/* ===== NAVIGATION ===== */
.dashboard-nav {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}
.nav-brand i {
    font-size: 1.8rem;
    color: var(--accent);
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}
.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    padding: 6px 16px 6px 6px;
    border-radius: 40px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}
.user-info:hover {
    background: rgba(255,255,255,0.2);
}
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
}
.user-info div {
    line-height: 1.3;
}
.user-info div div {
    font-weight: 500;
    font-size: 0.9rem;
}
.user-info small {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* ===== SIDEBAR ===== */
.dashboard-sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    height: calc(100vh - 70px);
    position: sticky;
    top: 70px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    z-index: 99;
    overflow-y: auto;
}
.dashboard-sidebar::-webkit-scrollbar {
    width: 5px;
}
.dashboard-sidebar::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
}
.dashboard-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 5px;
}
.sidebar-menu {
    padding: 20px 0;
    flex: 1;
}
.sidebar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 24px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 4px solid transparent;
    cursor: pointer;
    margin-bottom: 4px;
}
.sidebar-item:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    transform: translateX(5px);
}
.sidebar-item.active {
    background: rgba(255,255,255,0.15);
    color: white;
    border-left-color: var(--accent);
    font-weight: 500;
}
.sidebar-item i {
    width: 22px;
    text-align: center;
    font-size: 1.1rem;
}
.sidebar-item .badge {
    margin-left: auto;
    background: var(--accent);
    color: var(--primary);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}
.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}
.help-section h4 {
    color: white;
    margin: 0 0 10px 0;
    font-size: 0.9rem;
}
.help-section p {
    margin: 5px 0;
    opacity: 0.8;
}
.help-section small {
    opacity: 0.6;
}

/* ===== MAIN CONTENT ===== */
.dashboard-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
}
.main-content {
    flex: 1;
    padding: 24px;
    min-height: calc(100vh - 70px);
    overflow-y: auto;
}

/* ===== PAGE CONTENT ===== */
.page-header {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px 25px;
    margin-bottom: 24px;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--accent);
}
.page-header h1 {
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.page-header p {
    color: var(--gray);
    margin: 0;
}

/* ===== STATS CARDS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}
.stat-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
    cursor: pointer;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary);
}
.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}
.stat-icon.applications { background: #e3f2fd; color: #1976d2; }
.stat-icon.interviews { background: #fff3cd; color: #856404; }
.stat-icon.offers { background: #d4edda; color: #155724; }
.stat-icon.profile { background: #f8d7da; color: #721c24; }
.stat-icon.jobs { background: #e3f2fd; color: #1976d2; }
.stat-icon.apps { background: #f3e5f5; color: #7b1fa2; }
.stat-icon.short { background: #e8f5e9; color: #388e3c; }
.stat-info h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
}
.stat-info p {
    margin: 5px 0 0 0;
    color: var(--gray);
    font-size: 0.85rem;
}

/* ===== TABLES ===== */
.table-responsive {
    overflow-x: auto;
}
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.table th {
    background: var(--light);
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: var(--primary);
    border-bottom: 2px solid var(--gray-light);
    white-space: nowrap;
}
.table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--gray-light);
    vertical-align: middle;
}
.table tr:hover {
    background: var(--light);
}
.table-striped tr:nth-child(even) {
    background: var(--light);
}

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-success { background: #d4edda; color: #155724; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-danger { background: #f8d7da; color: #721c24; }
.badge-info { background: #d1ecf1; color: #0c5460; }
.badge-primary { background: #cce5ff; color: #004085; }
.badge-accent { background: var(--accent); color: var(--primary); }

/* ===== ALERTS ===== */
.alert-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}
.alert {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInRight 0.3s ease;
    box-shadow: var(--box-shadow-hover);
    background: white;
    border-left: 4px solid;
}
.alert-success { border-left-color: var(--success); color: #155724; }
.alert-success i { color: var(--success); }
.alert-danger { border-left-color: var(--danger); color: #721c24; }
.alert-danger i { color: var(--danger); }
.alert-warning { border-left-color: var(--warning); color: #856404; }
.alert-warning i { color: var(--warning); }
.alert-info { border-left-color: var(--info); color: #0c5460; }
.alert-info i { color: var(--info); }

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

/* ===== LOADING STATES ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}
.loading-overlay.show {
    display: flex;
}
.loading-spinner {
    text-align: center;
    background: white;
    padding: 30px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-hover);
}
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-light);
    border-top-color: var(--primary);
    border-right-color: var(--primary-light);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 15px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.loading-spinner p {
    color: var(--primary);
    font-weight: 500;
    margin: 0;
}
.loading-spinner .loading-text {
    color: var(--gray);
    font-size: 0.85rem;
    font-weight: normal;
    margin-top: 5px;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.pagination-btn {
    padding: 8px 16px;
    border: 1px solid var(--gray-light);
    background: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}
.pagination-btn:hover:not(:disabled) {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.page-numbers {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.page-btn {
    width: 38px;
    height: 38px;
    border: 1px solid var(--gray-light);
    background: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}
.page-btn:hover {
    background: var(--light);
    border-color: var(--primary);
}
.page-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.page-dots {
    padding: 0 8px;
    color: var(--gray);
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: var(--gray);
}
.empty-state i {
    font-size: 4rem;
    color: var(--gray-light);
    margin-bottom: 15px;
    display: block;
}
.empty-state h3 {
    margin: 0 0 10px 0;
    color: var(--dark);
}
.empty-state p {
    margin: 0 0 20px 0;
}

/* ===== PROGRESS ===== */
.progress {
    height: 8px;
    background: var(--gray-light);
    border-radius: 4px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    transition: width 0.3s ease;
}
.progress-bar.high { background: var(--success); }
.progress-bar.medium { background: var(--warning); }
.progress-bar.low { background: var(--danger); }

/* ===== SKILL TAGS ===== */
.skill-tag {
    display: inline-block;
    background: var(--primary-light);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin: 2px;
}
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}
.modal.show {
    display: flex;
}
.modal-content {
    background: white;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalPop 0.3s ease;
}
@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light);
    position: sticky;
    top: 0;
}
.modal-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}
.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--gray-light);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: var(--light);
    position: sticky;
    bottom: 0;
}

/* ===== UTILITIES ===== */
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-column { flex-direction: column; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .dashboard-sidebar {
        position: fixed;
        left: 0;
        top: 70px;
        transform: translateX(-100%);
        width: 260px;
        z-index: 100;
    }
    .dashboard-sidebar.show {
        transform: translateX(0);
    }
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }
    .main-content {
        padding: 20px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px;
        gap: 15px;
    }
    .nav-menu {
        width: 100%;
        justify-content: space-between;
    }
    .card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .form-row {
        flex-direction: column;
    }
    .form-row .form-group {
        min-width: 100%;
    }
}

/* ===== PRINT ===== */
@media print {
    .dashboard-nav, .dashboard-sidebar, .btn, .modal, .alert-container {
        display: none !important;
    }
    .dashboard-container {
        display: block;
    }
    .main-content {
        margin: 0;
        padding: 0;
    }
    .card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}