/* Career Page — Modern white + blue theme */
.career-page {
    background: #ffffff;
    color: #1e293b;
}

.career-hero {
    position: relative;
    padding: calc(83px + 2.5rem) 0 3rem;
    background: #ffffff;
    overflow: hidden;
}

.career-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.career-hero-bg::before,
.career-hero-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
}

.career-hero-bg::before {
    width: 420px;
    height: 420px;
    top: -100px;
    right: -60px;
    background: rgba(59, 130, 246, 0.1);
}

.career-hero-bg::after {
    width: 320px;
    height: 320px;
    bottom: -80px;
    left: -40px;
    background: rgba(56, 189, 248, 0.12);
}

.career-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.career-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    margin-bottom: 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1d4ed8;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 999px;
}

.career-hero-content h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: #1e3a8a;
}

.career-hero-content p {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #64748b;
}

.career-jobs-section {
    padding: 2rem 0 4rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.career-jobs-header {
    text-align: center;
    margin-bottom: 2rem;
}

.career-jobs-header h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #1e3a8a;
}

.career-jobs-header p {
    margin: 0;
    color: #64748b;
}

.career-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

.career-job-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.career-job-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 16px 40px rgba(59, 130, 246, 0.1);
}

.career-job-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e3a8a;
}

.career-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.career-job-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
}

.career-job-meta i {
    color: #3b82f6;
    font-size: 0.75rem;
}

.career-job-description {
    margin: 0 0 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #64748b;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.career-apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    padding: 0.8rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.career-apply-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.3);
}

.career-empty,
.career-loading {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #64748b;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
}

.career-empty i,
.career-loading i {
    font-size: 2rem;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.career-apply-modal .modal-content {
    border: none;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.15);
}

.career-apply-modal .modal-header {
    border-bottom: 1px solid #e2e8f0;
    padding: 1.25rem 1.5rem;
}

.career-apply-modal .modal-title {
    font-weight: 700;
    color: #1e3a8a;
}

.career-apply-modal .modal-body {
    padding: 1.5rem;
}

.career-apply-job-summary {
    padding: 1rem;
    margin-bottom: 1.25rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.career-apply-job-summary h4 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
    color: #1e3a8a;
}

.career-apply-job-summary p {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
}

.career-form-label {
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.35rem;
}

.career-form-control {
    border-radius: 10px;
    border-color: #e2e8f0;
}

.career-form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.career-file-note {
    font-size: 0.8125rem;
    color: #64748b;
    margin-top: 0.35rem;
}

.career-submit-btn {
    width: 100%;
    padding: 0.85rem;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border: none;
}

.career-submit-btn:disabled {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .career-hero {
        padding: calc(83px + 1.5rem) 0 2rem;
    }

    .career-jobs-section {
        padding: 1.5rem 0 3rem;
    }

    .career-jobs-grid {
        grid-template-columns: 1fr;
    }
}
