/* Job Detail Page Specific Styles */

.job-detail-page {
    padding: 2rem 0;
    background-color: #f8f4f3;
}

/* Job Header Card */
.job-header-card {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.company-logo-large {
    width: 100px;
    height: 100px;
    border-radius: 0.75rem;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.company-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.75rem;
}

.company-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.company-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #343a40;
}

.company-location {
    font-size: 0.95rem;
    color: #6c757d;
}

.company-location i {
    color: #f84525;
    margin-right: 0.25rem;
}

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

.meta-badge {
    background-color: #f8f4f3;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    color: #343a40;
    font-weight: 500;
}

.meta-badge i {
    color: #f84525;
    margin-right: 0.5rem;
}

.salary-range {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f84525;
}

.salary-range i {
    margin-right: 0.5rem;
}

.job-header-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
}

.btn-apply-now {
    background-color: #f84525;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn-apply-now:hover {
    background-color: #a21900;
    color: white;
}

.btn-save-job,
.btn-share-job {
    background-color: transparent;
    color: #343a40;
    border: 2px solid #dee2e6;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-save-job:hover,
.btn-share-job:hover {
    border-color: #f84525;
    color: #f84525;
}

/* Detail Sections */
.detail-section {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f84525;
}

.section-content {
    color: #343a40;
    line-height: 1.7;
}

.section-content p {
    margin-bottom: 1rem;
}

.section-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #212529;
}

.job-list {
    list-style: none;
    padding-left: 0;
}

.job-list li {
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.job-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f84525;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8f4f3;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background-color: #f84525;
    color: white;
    transform: translateY(-2px);
}

.benefit-item i {
    font-size: 1.5rem;
    color: #f84525;
}

.benefit-item:hover i {
    color: white;
}

.benefit-item span {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Company Stats */
.company-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    padding: 2rem;
    background-color: #f8f4f3;
    border-radius: 0.5rem;
}

.stat-item {
    text-align: center;
}

.stat-item h4 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f84525;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Location */
.location-map {
    margin-top: 1rem;
}

.location-address {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #343a40;
}

/* Digital Marketing Banner Inline */
.digital-marketing-banner-inline {
    background: linear-gradient(90deg, #1a1a1a 0%, #2d1515 100%);
    padding: 2rem;
    border-radius: 0.75rem;
    color: white;
}

.banner-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #FFD700;
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
}

.banner-list {
    list-style: disc;
    padding-left: 1.2rem;
    font-size: 0.95rem;
}

.banner-list li {
    margin-bottom: 0.25rem;
}

.price-label {
    display: block;
    font-size: 0.75rem;
    color: white;
    background-color: #8B0000;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-bottom: 0.25rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #FFD700;
    display: block;
}

/* Sidebar */
.job-detail-sidebar {
    position: sticky;
    top: 100px;
}

/* Quick Apply Card */
.quick-apply-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f84525;
}

.quick-apply-form .form-label {
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0.5rem;
}

.quick-apply-form .form-control {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    border-radius: 0.5rem;
}

.quick-apply-form .form-control:focus {
    border-color: #f84525;
    box-shadow: 0 0 0 0.2rem rgba(248, 69, 37, 0.25);
}

.btn-submit-application {
    background-color: #f84525;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-submit-application:hover {
    background-color: #a21900;
}

/* Job Overview Card */
.job-overview-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.overview-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.overview-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.overview-item i {
    font-size: 1.25rem;
    color: #f84525;
    margin-top: 0.25rem;
}

.overview-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.overview-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0;
}

/* Similar Jobs Card */
.similar-jobs-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.similar-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.similar-job-item {
    padding: 1rem;
    background-color: #f8f4f3;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.similar-job-item:hover {
    background-color: #f84525;
    transform: translateX(4px);
}

.job-mini-logo {
    width: 40px;
    height: 40px;
    border-radius: 0.375rem;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-shrink: 0;
}

.job-mini-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-mini-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.25rem;
}

.similar-job-item:hover .job-mini-title {
    color: white;
}

.job-mini-company {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.similar-job-item:hover .job-mini-company {
    color: rgba(255, 255, 255, 0.9);
}

.job-mini-location {
    font-size: 0.8rem;
    color: #929292;
    margin-bottom: 0;
}

.similar-job-item:hover .job-mini-location {
    color: rgba(255, 255, 255, 0.8);
}

/* Sidebar Ad Banner */
.sidebar-ad-banner {
    background: linear-gradient(180deg, #1a1a1a 0%, #2d1515 100%);
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    color: white;
    text-align: center;
}

.ad-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFD700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.ad-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    display: block;
}

.ad-features {
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background-color: white;
    border-radius: 0.375rem;
}

.ad-feature {
    font-size: 0.85rem;
    color: #212529;
    font-weight: 600;
}

.ad-price-label {
    display: inline-block;
    font-size: 0.75rem;
    color: white;
    background-color: #8B0000;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
}

.ad-price-main {
    font-size: 2.25rem;
    font-weight: 800;
    color: #FFD700;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 991px) {
    .job-detail-sidebar {
        position: relative;
        top: 0;
        margin-top: 2rem;
    }
    
    .job-detail-title {
        font-size: 1.5rem;
    }
    
    .job-header-actions {
        flex-direction: column;
    }
    
    .digital-marketing-banner-inline .text-end {
        text-align: center !important;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .job-header-card {
        padding: 1.5rem;
    }
    
    .company-logo-large {
        width: 70px;
        height: 70px;
    }
    
    .job-detail-title {
        font-size: 1.25rem;
    }
    
    .company-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .company-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
