/* Styles pour l'interface d'administration */

/* Variables */
:root {
    --primary-color: #2A5C8B;
    --primary-dark: #1e4a75;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --sidebar-width: 250px;
    --sidebar-collapsed-width: 70px;
    --topbar-height: 60px;
    --font-family: 'Poppins', sans-serif;
}

/* Styles généraux */
body {
    font-family: var(--font-family);
    background-color: #f5f7fa;
    color: #333;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

a:hover {
    color: var(--primary-dark);
}

/* Content manager layout (multi-biens) */
.content-scope-card {
    border-left: 4px solid var(--primary-color);
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.content-scope-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-end;
}

.content-scope-control {
    min-width: 240px;
    flex: 1 1 320px;
}

.content-scope-status {
    font-weight: 600;
    color: #475569;
}

.content-manager-tabs {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
}

.content-manager-tabs::-webkit-scrollbar {
    height: 6px;
}

.content-manager-tabs::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.15);
    border-radius: 999px;
}

.content-manager-tabs .nav-tabs {
    flex-wrap: nowrap;
    gap: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.content-manager-tabs .nav-link {
    border: none;
    border-radius: 999px;
    padding: 0.5rem 1.1rem;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    transition: all 0.2s ease;
}

.content-manager-tabs .nav-link:hover {
    background: rgba(42, 92, 139, 0.12);
    color: var(--primary-color);
}

.content-manager-tabs .nav-link.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 10px 25px rgba(42, 92, 139, 0.2);
}

.content-workspace {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

@media (max-width: 991px) {
    .content-scope-row {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 768px) {
    .content-manager-tabs .nav-link {
        padding: 0.45rem 0.95rem;
        font-size: 0.9rem;
    }
}

/* Page de connexion admin */
.admin-login {
    background-color: #f5f7fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.login-header img {
    max-width: 120px;
    margin-bottom: 1rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.login-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.login-form button {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-form button:hover {
    background-color: var(--primary-dark);
}

.alert-danger {
    color: var(--danger-color);
    background-color: rgba(220, 53, 69, 0.1);
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
}

.d-none {
    display: none;
}

/* Layout d'administration */
.admin-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background-color: #fff;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    overflow-y: auto;
}

.sidebar-collapsed .sidebar {
    width: var(--sidebar-collapsed-width);
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sidebar-header .brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
    margin-bottom: 0.5rem;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.sidebar-header p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--secondary-color);
}

.sidebar-collapsed .sidebar-header h3,
.sidebar-collapsed .sidebar-header p {
    display: none;
}

.sidebar-collapsed .sidebar-header .brand-logo {
    display: none;
}

.branding-preview {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    background: #fff;
    object-fit: contain;
    display: none;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    position: relative;
    margin: 0.25rem 0;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #555;
    transition: all 0.3s ease;
    border-radius: 0.25rem;
    margin: 0 0.5rem;
}

.sidebar-menu li a:hover {
    background-color: rgba(42, 92, 139, 0.05);
    color: var(--primary-color);
    text-decoration: none;
}

.sidebar-menu li.active a {
    background-color: rgba(42, 92, 139, 0.1);
    color: var(--primary-color);
    font-weight: 500;
    border-left: 3px solid var(--primary-color);
}

.sidebar-menu li a i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.sidebar-collapsed .sidebar-menu li a span {
    display: none;
}

.sidebar-divider {
    height: 1px;
    margin: 0.5rem 0;
    background-color: rgba(0, 0, 0, 0.1);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    transition: all 0.3s ease;
}

.sidebar-collapsed .main-content {
    margin-left: var(--sidebar-collapsed-width);
}

/* Topbar */
.topbar {
    height: var(--topbar-height);
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-name {
    margin-right: 0.75rem;
    font-weight: 500;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Content Wrapper */
.content-wrapper {
    padding: 1.5rem;
    margin-top: 1rem;
}

.content-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.content-header h1 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
}

.content-header p {
    margin: 0.25rem 0 0 0;
}

/* Cards */
.card {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card-header {
    padding: 1rem 1.25rem;
}

.card-body {
    padding: 1.5rem;
}

/* Styles pour le drag and drop des médias */
.banner-section {
    border: 2px dashed transparent;
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 8px;
    position: relative;
}

.banner-section.dragover {
    border-color: var(--primary-color);
    background-color: rgba(42, 92, 139, 0.1);
}

.banner-section .drop-hint {
    display: none;
    text-align: center;
    color: var(--secondary-color);
    margin-top: 10px;
    font-size: 0.9rem;
}

.banner-section.dragover .drop-hint {
    display: block;
}

.banner-section .drop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 6px;
    z-index: 10;
}

.banner-section.dragover .drop-overlay {
    display: flex;
}

.banner-section .drop-overlay i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.banner-section .drop-overlay p {
    margin: 0;
    font-weight: 500;
    color: var(--primary-dark);
}

/* Styles pour les infos vidéo */
.video-info {
    font-size: 0.8rem;
    color: var(--warning-color);
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: rgba(255, 193, 7, 0.1);
    border-radius: 4px;
    display: none;
}

.video-info.show {
    display: block;
}

/* Ajustements pour les vidéos mobiles */
.video-container {
    position: relative;
}

.video-container .format-warning {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(220, 53, 69, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-align: center;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 1.25rem;
}

.card-header h5 {
    margin: 0;
    font-weight: 600;
}

/* Stats Cards */
.stats-card .card-body {
    display: flex;
    align-items: center;
    padding: 1.25rem;
}

.stats-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-right: 1rem;
}

.stats-info {
    flex: 1;
}

.stats-info h5 {
    margin: 0;
    font-size: 0.875rem;
    color: var(--secondary-color);
}

.stats-info h3 {
    margin: 0.25rem 0 0 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.stats-progress {
    margin-top: 0.75rem;
}

.stats-progress .progress {
    height: 0.5rem;
    margin-bottom: 0.25rem;
}

.stats-progress small {
    font-size: 0.75rem;
    color: var(--secondary-color);
}

/* Quick Action Buttons */
.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: #f8f9fa;
    color: #555;
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.quick-action-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
}

.quick-action-btn i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Notifications */
.notifications-list {
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    margin-right: 1rem;
}

/* Styles pour les onglets */
.nav-tabs {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 0.75rem;
    gap: 0.35rem;
}

.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    color: #495057;
    padding: 0.4rem 0.85rem;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    border-color: #e9ecef #e9ecef #dee2e6;
    isolation: isolate;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
    font-weight: 500;
}

.tab-content {
    padding: 0.75rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 0.25rem 0.25rem;
}

.tab-content.p-3 {
    padding: 0.75rem !important;
}

.tab-content > .tab-pane {
    display: none;
}

.tab-content > .active {
    display: block;
}
}

.notification-content {
    flex: 1;
}

.notification-content p {
    margin: 0;
    font-size: 0.875rem;
}

.notification-content small {
    font-size: 0.75rem;
    color: var(--secondary-color);
}

/* Calendar */
.calendar-container {
    height: 650px;
}

.calendar-mini {
    height: 300px;
}

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    margin-right: 0.5rem;
}

/* Tables */
.table th {
    font-weight: 600;
    border-top: none;
}

.table td {
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background-color: rgba(42, 92, 139, 0.05);
}

/* Badges */
.badge-status {
    padding: 0.35em 0.65em;
    border-radius: 0.25rem;
    font-weight: 500;
}

.badge-confirmed {
    background-color: var(--success-color);
    color: #fff;
}

.badge-pending {
    background-color: var(--warning-color);
    color: #212529;
}

.badge-cancelled {
    background-color: var(--danger-color);
    color: #fff;
}

.badge-option {
    background-color: var(--info-color);
    color: #fff;
}

/* Responsive */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar-open .sidebar {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .sidebar-open .main-content {
        margin-left: 0;
    }

    .sidebar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
    }

    .sidebar-open .sidebar-backdrop {
        display: block;
    }
}

/* Styles pour le content manager */
.content-manager-form .form-label {
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.content-manager-form .form-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.content-manager-form .form-group {
    margin-bottom: 2.5rem;
    padding: 1.25rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
}

.content-manager-form .form-control,
.content-manager-form .form-select {
    border-radius: 0.5rem;
    padding: 0.85rem 1.25rem;
    border: 1px solid #ced4da;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.content-manager-form .form-control:focus,
.content-manager-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(42, 92, 139, 0.15);
}

.content-manager-form textarea.form-control {
    min-height: 250px;
}

/* Styles pour les aperçus d'images */
.image-preview-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.image-preview {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 0.75rem;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0.5rem;
}

.image-preview:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Styles pour les boutons d'action */
.content-manager-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.content-manager-actions .btn {
    padding: 0.85rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    font-size: 1.05rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Styles pour les cartes de section */
.section-card {
    margin-bottom: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
    border: none;
    overflow: hidden;
    background-color: #fff;
}

.section-card .card-header {
    padding: 1.25rem 1.75rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.section-card .card-body {
    padding: 1.75rem;
    background-color: #fff;
}

.section-card .card-footer {
    padding: 1rem 1.75rem;
    background-color: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .section-card {
        margin-bottom: 1.5rem;
    }
    
    .section-card .card-header {
        padding: 1rem;
    }
    
    .section-card .card-body {
        padding: 1.25rem;
    }
}

/* Styles pour la galerie */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 0.5rem;
}

.gallery-item {
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-item .card-footer {
    display: flex;
    justify-content: space-around;
    padding: 0.75rem;
    background-color: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    gap: 0.5rem;
}

/* Correction pour l'éditeur de texte */
.tox-tinymce {
    border-radius: 0.75rem !important;
    margin-top: 0.75rem;
    border: 1px solid #dee2e6 !important;
}

/* Styles pour la modale d'image */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
    padding: 2rem;
}

.modal-image {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 0 30px rgba(0,0,0,0.7);
    transition: all 0.3s ease;
}

.modal-image:hover {
    transform: scale(1.01);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.modal-nav-btn {
    pointer-events: all;
    background: rgba(255,255,255,0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

/* Améliorations pour le content manager */
.content-manager-form .form-control {
    transition: all 0.3s ease;
}

.content-manager-form .form-control:focus {
    box-shadow: 0 0 0 0.3rem rgba(42, 92, 139, 0.15);
}

.section-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Boutons améliorés */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Boutons d'édition */
.edit-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.edit-btn:hover {
    background: #333;
}

.editable-text {
    cursor: text;
    padding: 5px;
    border-bottom: 1px dashed #ccc;
}

.editable-text:hover {
    background: #f5f5f5;
}

/* Bouton édition bannière */
.edit-banner-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.9);
    color: #333;
    border: 2px solid #333;
    border-radius: 5px;
    padding: 5px 10px;
    font-weight: bold;
    z-index: 100;
}

.edit-banner-btn:hover {
    background: #333;
    color: white;
}

/* Assurer que la grille de la bibliothèque de médias prend de la hauteur */
.media-library-grid-target {
    min-height: 150px; /* Hauteur minimale pour voir quelque chose, ajustable */
    overflow-y: auto; /* Ajouter une barre de défilement si le contenu dépasse */
    display: flex; /* Maintenir flex pour la disposition en ligne */
    flex-wrap: wrap; /* Permettre aux éléments de passer à la ligne */
    align-content: flex-start; /* Aligner les lignes en haut */
}

/* Optionnel: s'assurer que les colonnes ont une taille de base */
.media-library-grid-target > .col {
    flex-basis: 120px; /* Ajuster selon la taille souhaitée des miniatures */
}

/* Styles pour la bibliothèque de médias - version améliorée */
.media-library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.media-item {
    border: 1px solid #eee;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.2s ease;
    background: white;
}

.media-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.media-item.selected {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 0 3px rgba(42, 92, 139, 0.2);
}

.media-item img, 
.media-item video {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.media-item .card-body {
    padding: 0.5rem;
}

.media-filename {
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.delete-media-btn {
    width: 100%;
    padding: 0.25rem;
    font-size: 0.75rem;
}

/* Styles pour la modale de sélection des médias */
.media-select-modal .modal-body {
    padding: 0;
}

.media-select-trigger {
    position: relative;
}

.media-select-trigger .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(42, 92, 139, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-select-trigger:hover .image-overlay {
    opacity: 1;
}
