*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f0f2f5;
    min-height: 100vh;
}

/* ── NAVBAR ── */
.navbar {
    background-color: #1e3a5f;
    color: white;
    padding: 0 32px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.navbar-brand a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
}

.navbar-menu {
    list-style: none;
    display: flex;
    gap: 8px;
}

.navbar-menu li a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    transition: background 0.2s;
}

.navbar-menu li a:hover {
    background: rgba(255,255,255,0.15);
    color: white;
}

/* ── MAIN CONTENT ── */
.main-content {
    padding: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

/* ── PAGE HEADER ── */
.page-header {
    margin-bottom: 24px;
}

.page-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
}

.page-header p {
    color: #6b7280;
    margin-top: 6px;
    font-size: 14px;
}

/* ── JOB CARDS ── */
.job-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 24px;
    margin-bottom: 16px;
    transition: box-shadow 0.2s;
}

.job-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.job-card h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.job-card-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
}

.job-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
    background-color: #2563eb;
    color: white;
}
.btn-primary:hover { background-color: #1d4ed8; color: white; }

.btn-secondary {
    background-color: #6b7280;
    color: white;
}
.btn-secondary:hover { background-color: #4b5563; color: white; }

.btn-success {
    background-color: #16a34a;
    color: white;
}
.btn-success:hover { background-color: #15803d; color: white; }

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 13px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ── CARD ── */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 32px;
    margin-bottom: 24px;
}

/* ── FORMS ── */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    color: #1f2937;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: #2563eb;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.field-validation-error {
    display: block;
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
}

.validation-summary-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #dc2626;
}

/* ── AUTH ── */
.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #f0f2f5;
}

.auth-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 48px;
    width: 100%;
    max-width: 480px;
}

.auth-card h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 8px;
}

.auth-card .subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 28px;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

.forgot-link {
    font-size: 14px;
    color: #2563eb;
    text-decoration: none;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #6b7280;
}

.auth-footer a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.auth-divider {
    text-align: center;
    margin: 20px 0;
    color: #9ca3af;
    font-size: 13px;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: #e5e7eb;
}

.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

/* ── ALERTS ── */
.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
}

.alert-success {
    background-color: #dcfce7;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* ── BADGES ── */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-open {
    background-color: #dcfce7;
    color: #16a34a;
}

/* ── SUCCESS PAGE ── */
.success-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
}

.success-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.success-wrapper h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.success-wrapper p {
    color: #6b7280;
    font-size: 15px;
    margin-bottom: 24px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .main-content { padding: 16px; }
    .navbar { padding: 0 16px; }
    .auth-card { padding: 32px 24px; }
}