/* Job Detail Page Styles */
.job-detail {
    /* max-width: 800px; */
    margin: 0 auto;
}

.job-detail .page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.job-detail .job-yomi {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.job-detail .job-section {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.job-detail .job-section:last-child {
    border-bottom: none;
}

.job-detail .job-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3b82f6;
}

.job-detail .job-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
    margin: 0 0 0.75rem 0;
    border-bottom: solid 1px gray;
}

.job-detail .job-section p {
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

.job-detail .job-section a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s;
}

.job-detail .job-section a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Classification list */
.job-detail .classification-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-detail .classification-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.job-detail .classification-list li:last-child {
    border-bottom: none;
}

.job-detail .classification-list strong {
    color: #64748b;
    font-weight: 500;
    margin-right: 0.5rem;
}

/* Job description content */
.job-detail .job-description {
    color: #475569;
    line-height: 1.8;
}

.job-detail .job-description p {
    margin-bottom: 1rem;
}

.job-detail .job-description p:last-child {
    margin-bottom: 0;
}

/* Career path with arrows */
.job-detail .career-path {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.8;
}

/* Aptitude tables */
.job-detail .table-responsive {
    overflow-x: auto;
    margin-top: 0.5rem;
}

.job-detail .aptitude-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.job-detail .aptitude-table th,
.job-detail .aptitude-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.job-detail .aptitude-table thead th {
    background: #f8fafc;
    font-weight: 600;
    color: #334155;
    border-bottom: 2px solid #e2e8f0;
}

.job-detail .aptitude-table tbody tr:hover {
    background: #f8fafc;
}

.job-detail .aptitude-table td:first-child {
    font-weight: 500;
    color: #1e293b;
    white-space: nowrap;
    width: 30%;
}

.job-detail .aptitude-table td:last-child {
    color: #475569;
}

/* Qualifications, aliases, related jobs lists */
.job-detail .job-section ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0;
}

.job-detail .job-section ul li {
    padding: 0.25rem 0;
    color: #475569;
}

/* Tags and keywords */
.job-detail .tag-list,
.job-detail .keyword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
}

.job-detail .tag,
.job-detail .keyword {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #334155;
    transition: all 0.2s;
}

.job-detail .tag:hover,
.job-detail .keyword:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Responsive for job detail */
@media (max-width: 768px) {
    .job-detail .page-title {
        font-size: 1.5rem;
    }

    .job-detail .job-section h2 {
        font-size: 1.1rem;
    }

    .job-detail .job-section h3 {
        font-size: 1rem;
    }

    .job-detail .aptitude-table th,
    .job-detail .aptitude-table td {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .job-detail .aptitude-table td:first-child {
        width: 35%;
    }

    .job-detail .tag-list,
    .job-detail .keyword-list {
        gap: 0.375rem;
    }

    .job-detail .tag,
    .job-detail .keyword {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .job-detail .page-title {
        font-size: 1.35rem;
    }

    .job-detail .classification-list li {
        font-size: 0.875rem;
    }

    .job-detail .aptitude-table {
        font-size: 0.75rem;
    }

    .job-detail .aptitude-table th,
    .job-detail .aptitude-table td {
        padding: 0.5rem;
    }

    .job-detail .career-path {
        font-size: 0.85rem;
    }
}
