/* Job Detail Page Styles */

:root {
    --navy: #0F1629;
    --navy-dark: #1A2332;
    --gold-primary: #C89D5C;
    --gold-light: #D4AF6A;
    --gold-muted: #9B7E4A;
    --white: #FAFAFA;
    --text-muted: #6B7280;
    --border: rgba(200, 157, 92, 0.15);
    --glass-bg: rgba(26, 35, 50, 0.08);
}

/* Breadcrumb */
.breadcrumb-section {
    background: white;
    border-bottom: 2px solid var(--border);
    padding: 1.5rem 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
}

.breadcrumb a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--gold-primary);
}

.breadcrumb i {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
}

.breadcrumb span {
    color: var(--text-muted);
}

/* Job Header */
.job-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.job-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(200, 157, 92, 0.12) 0%, transparent 50%);
}

.job-header-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.job-header-main {
    flex: 1;
}

.job-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: white;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

.job-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.meta-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2rem;
    color: white;
    font-size: 0.9375rem;
    font-weight: 500;
}

.meta-badge i {
    width: 18px;
    height: 18px;
}

.meta-badge.salary {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    border-color: transparent;
    font-weight: 600;
}

.job-header-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn i {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200, 157, 92, 0.3);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: white;
    border-color: white;
    color: var(--navy);
}

.btn-lg {
    padding: 1.125rem 2rem;
    font-size: 1.125rem;
}

/* Job Content */
.job-content-section {
    padding: 4rem 0;
    background: var(--background);
}

.job-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}

.job-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Content Cards */
.content-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 2px solid var(--border);
    box-shadow: 0 4px 12px rgba(15, 22, 41, 0.05);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 1.5rem 0;
}

.section-title i {
    width: 28px;
    height: 28px;
    color: var(--gold-primary);
}

.job-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

/* Lists */
.requirements-list,
.responsibilities-list,
.benefits-list,
.qualifications-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.requirements-list li,
.responsibilities-list li,
.benefits-list li,
.qualifications-list li {
    padding-left: 2rem;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.requirements-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.responsibilities-list li::before {
    content: '►';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-size: 1rem;
}

.benefits-list li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-size: 1.125rem;
}

.qualifications-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-size: 0.875rem;
}

/* Apply CTA Card */
.apply-cta-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    border-radius: 1.5rem;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.apply-cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(200, 157, 92, 0.15) 0%, transparent 60%);
}

.apply-cta-card > * {
    position: relative;
}

.apply-cta-card h3 {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    margin: 0 0 1rem 0;
}

.apply-cta-card p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 2rem 0;
}

/* Sidebar */
.job-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 2px solid var(--border);
    box-shadow: 0 4px 12px rgba(15, 22, 41, 0.05);
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 1.5rem 0;
}

/* Quick Info Grid */
.info-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
}

/* Related Jobs */
.related-jobs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-job-link {
    padding: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.related-job-link:hover {
    background: rgba(200, 157, 92, 0.08);
    border-color: var(--gold-primary);
    transform: translateX(4px);
}

.related-job-link h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
}

.related-job-link span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.view-all-link {
    padding: 0.875rem 1.25rem;
    background: transparent;
    border: 2px solid var(--gold-primary);
    border-radius: 0.75rem;
    color: var(--gold-primary);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.view-all-link:hover {
    background: var(--gold-primary);
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .job-layout {
        grid-template-columns: 1fr;
    }

    .job-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .job-header {
        padding: 3rem 0 2rem;
    }

    .job-header-content {
        flex-direction: column;
    }

    .job-header-actions {
        width: 100%;
    }

    .job-header-actions .btn {
        flex: 1;
    }

    .content-card {
        padding: 1.5rem;
    }

    .apply-cta-card {
        padding: 2rem;
    }

    .job-content-section {
        padding: 3rem 0;
    }
}
