/* Extracted from resources/views/frontend/pages/employe-details.blade.php */
.company-cover-shell {
    position: relative;
}

.company-cover-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 312;
    max-height: 320px;
    background: #0f172a;
    overflow: hidden;
}

.company-banner-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.company-cover-fallback {
    background: radial-gradient(
            circle at top right,
            rgba(255, 255, 255, 0.18),
            transparent 28%
        ),
        radial-gradient(
            circle at bottom left,
            rgba(255, 255, 255, 0.12),
            transparent 24%
        ),
        linear-gradient(135deg, #0b8260 0%, #0f172a 100%);
}

.company-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.08) 0%,
        rgba(15, 23, 42, 0.42) 100%
    );
}

.company-cover-shell .emplr-head-block {
    margin-top: -38px;
    position: relative;
    z-index: 2;
}

/* Professional Employer Details Styling Overrides */
.emplr-head-block {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.featured-badge-employer {
    position: absolute !important;
    top: 14px !important;
    right: 20px !important;
    z-index: 10 !important;
}

.emplr-head-right {
    margin-top: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.emplr-head-right .btn-main {
    padding: 12px 28px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(11, 130, 96, 0.2) !important;
    transition: all 0.3s ease !important;
}

.emplr-head-right .btn-main:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(11, 130, 96, 0.3) !important;
}

/* Premium Company Info Sidebar Styling */
.info-icon-box {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background-color: rgba(11, 130, 96, 0.08) !important;
    color: #0b8260;
    transition: all 0.3s ease;
}

.info-icon-box i {
    font-size: 15px;
    color: #0b8260 !important;
    transition: all 0.3s ease;
}

.d-flex:hover .info-icon-box {
    background-color: #0b8260 !important;
}

.d-flex:hover .info-icon-box i {
    color: #fff !important;
}

.company-job-view-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px;
    width: auto !important;
    padding: 10px 18px !important;
    border-radius: 8px !important;
    line-height: 1.1;
    text-align: center !important;
}

@media (max-width: 991.98px) {
    .company-cover-photo {
        height: 180px;
    }

    .company-cover-shell .emplr-head-block {
        margin-top: -24px;
    }

    .emplr-head-block {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .emplr-head-right {
        margin-top: 1.5rem !important;
        width: 100% !important;
    }

    .emplr-head-right .btn-main {
        width: 100% !important;
        text-align: center !important;
    }

    .featured-badge-employer {
        top: -12px !important;
        right: 12px !important;
    }
}
