/* ============================================================
   CMS OBJECT: Section Header
   Views: _SectionHeader.cshtml
   Dependencies: Bootstrap 5
   Dynamic content values may remain inline in the Razor view.
   ============================================================ */

/* --- Object note --- */
/* Layout, colors, alignment, and spacing are content-configured in the Razor partial. */

/* Add Existing selection */
.cms-section-header__selection {
    min-height: 80vh;
    padding: 20px 0 60px 0;
    background-color: #fafafa;
    border-bottom: 3px solid #dee2e6;
    margin-bottom: 40px;
    position: relative;
}

.cms-section-header__selection::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f58025, transparent);
    box-shadow: 0 2px 8px rgba(245, 128, 37, 0.3);
}

.cms-section-header__selection-card {
    border: 2px solid #e9ecef !important;
    border-radius: 8px !important;
    padding: 15px !important;
    margin-bottom: 25px;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.cms-section-header__selection-card:hover {
    box-shadow: 0 8px 25px rgba(245, 128, 37, 0.15);
    border-color: #f58025 !important;
    transform: translateY(-2px);
}

.cms-section-header__selection-card::before {
    content: "Section Header Preview";
    position: absolute;
    top: -12px;
    left: 20px;
    background: white;
    padding: 4px 12px;
    font-size: 0.85rem;
    color: #6c757d;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-weight: 500;
    z-index: 15;
}

.cms-section-header__add-action {
    top: 15px !important;
    right: 15px !important;
    display: none !important;
    color: #f58025;
    background: white;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    z-index: 20;
}

.cms-section-header__add-action:hover {
    color: white;
    background: #f58025;
    transform: scale(1.1);
}

.cms-section-header__selection-card:hover .cms-section-header__add-action {
    display: block !important;
}

@media (max-width: 767.98px) {
    .cms-section-header__add-action {
        display: block !important;
    }
}
