.job-detail-main {
    background-color: #f5f7fa;
    min-height: calc(100vh - 200px);
    /* padding-top: 0.5rem; */
}

.breadcrumb {
    color: #666;
    font-size: 0.9rem;
    padding: 1rem 0;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #0066cc;
}

.breadcrumb-separator {
    color: #999;
    margin: 0 0.5rem;
}

.breadcrumb-current {
    color: #0066cc;
    font-weight: 500;
}

.job-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    padding: 2rem;
}

.job-header {
    margin-bottom: 2rem;
}

.job-title-container {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.job-title {
    color: #333;
    flex: 1;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

.action-buttons {
    display: flex;
    gap: 0.8rem;
}

.btn-primary,
.btn-secondary,
.btn-outline {
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #0066cc;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0052a3;
}

.btn-secondary {
    background-color: #ff6b6b;
    color: #fff;
}

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

.btn-outline {
    background-color: transparent;
    border: 1px solid #0066cc;
    color: #0066cc;
}

.btn-outline:hover {
    background-color: #f0f8ff;
}

.btn-primary.disabled,
.btn-primary:disabled,
.btn-secondary:disabled {
    background-color: #c7ced8;
    color: #fff;
    cursor: not-allowed;
}

.job-meta {
    border-bottom: 1px solid #e9ecef;
    border-top: 1px solid #e9ecef;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem 0;
}

.job-salary {
    color: #ff6b6b;
    font-size: 1.3rem;
    font-weight: 600;
}

.job-location,
.job-type,
.job-education,
.job-views {
    align-items: center;
    color: #666;
    display: flex;
    font-size: 0.95rem;
    gap: 0.3rem;
}

.safety-tip {
    background-color: #fff3e0;
    border-left: 3px solid #ff9800;
    border-radius: 4px;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
    padding: 0.8rem 1rem;
}

.tip-title {
    color: #e65100;
    font-weight: 600;
}

.content-container {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 2fr 1fr;
    margin-top: 1.5rem;
}

.job-card,
.company-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
}

.job-card,
.company-card a{
    text-decoration: none;
}

.card-section {
    margin-bottom: 1.5rem;
}

.card-section:last-child {
    margin-bottom: 0;
}

.section-title {
    border-bottom: 2px solid #0066cc;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
}

.job-info-detail {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.info-item.full-width {
    grid-column: 1 / -1;
}

.info-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    width: 100%;
    text-align: left;
}

.info-value {
    color: #333;
    font-size: 0.95rem;
    word-break: break-word;
    width: 100%;
    text-align: left;
}

.job-description {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    line-height: 1.8;
    padding: 1rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.job-description p {
    margin: 0 0 0.8rem 0;
}

.job-description p:last-child {
    margin-bottom: 0;
}

.work-address {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    color: #333;
    padding: 1rem;
}

.source-row {
    align-items: center;
    display: flex;
    gap: 0.5rem;
}

.source-row a {
    color: #0066cc;
    text-decoration: none;
}

.source-row a:hover {
    text-decoration: underline;
}

.company-header {
    align-items: center;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.company-logo {
    background-color: #0066cc;
    border-radius: 8px;
    height: 60px;
    object-fit: cover;
    width: 60px;
}

.company-name {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
}

.other-jobs {
    border-top: 1px solid #e9ecef;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
}

.other-jobs h4 {
    color: #333;
    font-size: 0.95rem;
    margin: 0 0 0.5rem 0;
}

.other-jobs ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.other-jobs li {
    margin-bottom: 0.35rem;
}

.other-jobs a {
    color: #0066cc;
    font-size: 0.9rem;
    text-decoration: none;
}

.other-jobs a:hover {
    text-decoration: underline;
}

.divider {
    background-color: #e9ecef;
    height: 1px;
    margin: 2rem 0;
}

@media (max-width: 960px) {
    .content-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .job-title-container {
        flex-direction: column;
    }

    .job-title {
        font-size: 1.35rem;
    }

    .job-info-detail {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-wrap: wrap;
        width: 100%;
    }
}
