/* ============================================================================
   JOB DETAIL PAGE STYLES
   ============================================================================ */

* {
    font-family: 'Varela Round', sans-serif !important;
}

i {
    font-family: 'Font Awesome 6 Free' !important;
}

.cw {
    overflow-x: hidden;
}

/* Hero Section */
.detail-hero {
    background: #f8f2f8;
    border-bottom: 1px solid #e5e7eb;
    padding: 2rem 0;
}

.detail-hero .back-link {
    color: #6e1a84;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.detail-hero .back-link:hover {
    color: #58126b;
    margin-left: -4px;
}

.detail-hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    word-break: break-word;
    margin-bottom: 1rem;
}

.detail-hero .location {
    color: #4b5563;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-hero .location i {
    color: #6e1a84;
}

.share-btn {
    background: white !important;
    color: #6e1a84 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 50px !important;
    padding: 8px 16px !important;
    transition: all 0.3s ease !important;
    font-weight: 600;
    white-space: nowrap;
}

.share-btn:hover {
    background: #f3e9f8 !important;
    border-color: #6e1a84 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(110, 26, 132, 0.15) !important;
}

/* Content Section */
.detail-body {
    background-color: #ffffff;
    padding: 3rem 0;
}

.content-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background: #ffffff;
}

.content-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.content-card .card-body {
    padding: 2rem;
    line-height: 1.8;
    color: #333;
}

.content-card .card-body h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-card .card-body h2:first-child {
    margin-top: 0;
}

.content-card .card-body h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #6e1a84;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.content-card .card-body p {
    margin-bottom: 1rem;
    color: #555;
}

.content-card .card-body ul,
.content-card .card-body ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-card .card-body li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Sidebar Card */
.overview-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    background: #ffffff;
    position: sticky;
    top: 100px;
}

.overview-card .card-header {
    background: linear-gradient(135deg, #6e1a84 0%, #58126b 100%);
    color: white;
    padding: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.overview-card .overview-list {
    padding: 1.5rem;
}

.overview-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.overview-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.overview-item:first-child {
    padding-top: 0;
}

.ov-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #f3e9f8;
    color: #6e1a84;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.ov-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.ov-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
}

.overview-card .card-footer {
    background: #f8f8f8;
    border-top: 1px solid #e5e7eb;
    padding: 1.5rem;
}

.btn-apply {
    background: #6e1a84;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.btn-apply:hover {
    background: #58126b;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(110, 26, 132, 0.25);
    text-decoration: none;
    color: white;
}

.btn-apply:focus {
    outline: 2px solid #6e1a84;
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .detail-hero {
        padding: 1.5rem 0;
    }

    .detail-hero h1 {
        font-size: 1.8rem;
    }

    .detail-body {
        padding: 2rem 0;
    }

    .content-card .card-body {
        padding: 1.5rem;
    }

    .overview-card {
        position: static;
        margin-top: 2rem;
    }

    .overview-item {
        padding: 1rem 0;
    }

    .ov-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .detail-hero {
        padding: 1.5rem 0;
    }

    .detail-hero .btn-link {
        font-size: 0.9rem;
    }

    .detail-hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .detail-hero .location {
        font-size: 0.9rem;
    }

    .hero-actions {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .share-btn {
        padding: 8px 12px !important;
        font-size: 0.9rem;
    }

    .share-btn .btn-text {
        display: none;
    }

    .detail-body {
        padding: 1.5rem 0;
    }

    .content-card .card-body {
        padding: 1.2rem;
    }

    .content-card .card-body h2 {
        font-size: 1.4rem;
        margin-top: 1.5rem;
    }

    .content-card .card-body h3 {
        font-size: 1.1rem;
        margin-top: 1.2rem;
    }

    .overview-card .card-header {
        padding: 1rem 1.2rem;
        font-size: 0.85rem;
    }

    .overview-card .overview-list {
        padding: 1.2rem;
    }

    .overview-item {
        padding: 1rem 0;
        gap: 0.8rem;
    }

    .ov-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .ov-text {
        font-size: 0.9rem;
    }

    .overview-card .card-footer {
        padding: 1.2rem;
    }

    .btn-apply {
        padding: 10px 20px !important;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .detail-hero h1 {
        font-size: 1.3rem;
    }

    .detail-hero .location {
        font-size: 0.85rem;
    }

    .share-btn {
        padding: 6px 10px !important;
        font-size: 0.85rem;
    }

    .content-card .card-body {
        padding: 1rem;
    }

    .content-card .card-body h2 {
        font-size: 1.2rem;
        margin-top: 1.2rem;
    }

    .content-card .card-body h3 {
        font-size: 1rem;
        margin-top: 1rem;
    }

    .overview-item {
        padding: 0.8rem 0;
    }

    .ov-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .ov-label {
        font-size: 0.65rem;
    }

    .ov-text {
        font-size: 0.85rem;
    }
}
