.welcome_title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 50px;
    text-align: center;
    margin-top: 50px;
}



.navbar {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 5px 20px 40px 20px; /* Valeurs par défaut */
  border-top: 1px solid #eee;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
  z-index: 1000;
}

/* Lorsque lapp nest pas installée en PWA (mode browser) */
.non-pwa .navbar {
  padding: 20px !important;
}

.influencer_main_container {
    font-family: Montserrat, sans-serif;
    padding: 0px 20px;
    background-color: #fafafa;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.influencer_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.influencer_title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    font-family: Montserrat, sans-serif; !important;
    text-align: left !important
}

.influencer_text {
    font-size: 14px;
    color: #666;
    margin-bottom: 0px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-family: Montserrat, sans-serif !important;

}

.influencer_view_all {
    text-decoration: none;
    color: #005f73;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.influencer_carousel_card_container {
    width: 270px;
    border-radius: 20px;
    overflow: hidden;
    margin-right: 10px;
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.influencer_carousel_card_container:active {
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: none;
}

.influencer_carousel_card_container:focus {
    border: 2px solid #94d2bd;
    outline: none;
}

.influencer_carousel_card_container_bookings {
    width: 270px;
    border-radius: 20px;
    overflow: hidden;
    margin-right: 10px;
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}


.influencer_carousel_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0
}

.influencer_carousel_heart_icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.influencer_carousel_tags_container {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 1px;
}

.influencer_carousel_tag {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    color: #005f73;
}

.influencer_card_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin: 0;
    color: #005f73;
}

.influencer_filter_container {
    overflow-x: auto;
    white-space: nowrap;
    margin-bottom:10px;

}

.influencer_filter_category_button {
    background-color: rgba(220,220,220, 0.5);
    color: #005f73;
    border: none;
    border-radius: 25px;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    margin-right: 3px;
    transition: all 0.3s ease;
}

.influencer_location_input_input_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #ccc;
    padding: 10px 15px;
    border-radius: 25px;
}


.influencer_location_input_input {
    border: none;
    background-color: #fafafa;
    font-size: 16px;
    color: #333;
    width: 100%;
    outline: none;
}

.influencer_location_input_suggestions {
    width: 100%;
    max-height: 50px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 8px 8px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.influencer_location_input_suggestions:empty {
    display: none !important;
    border: none !important;
}

.influencer_map_container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 10px;
    height:250px
}

.influencer_hover_map_info{
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    width: 250px;
}

.influencer_offer_main_image_img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.influencer_offer_image_gallery {
    display: flex;
    margin-bottom: 10px;
    position: relative;
    height: 200px;
    gap: 8px;
}

.influencer_offer_main_image_container {
    flex: 3;  /* Takes up more space than side images */
    overflow: hidden;
    border-radius: 16px;
}

.influencer_offer_main_image_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.influencer_offer_side_images_container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
}

.influencer_offer_side_image {
    width: 100%;
    height: calc(50% - 4px);
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.influencer_offer_main_image_img:hover,
.influencer_offer_side_image:hover {
    transform: scale(1.05);
}

.influencer_offer_button_container {
    position: fixed;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 313px;
    padding: 0px;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1000;
}

.influencer_offer_button {
    border-radius: 27px;
    font-weight: 600;
    font-size: 18px;
    background-color: #005f73;
    color: #fff;
    width: 100%;
    outline: none;
    padding: 12px 0px;
    border: none;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease; /* Smooth transition for normal state */
    cursor: pointer;
}

/* Hover effect for better UX */
.influencer_offer_button:hover {
 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #005f73;
    color: #fff;
    }

/* Active effect (immediate response) */
.influencer_offer_button:active {
    transform: scale(0.95);
    background-color: #005f73;
    color: #fff;
    transition: none;
}

/* Focus state for keyboard accessibility */
.influencer_offer_button:focus {
    box-shadow: 0 0 0 3px rgba(0, 95, 115, 0.5);
    outline: none;
    background-color: #005f73;
    color: #fff;
}


.influencer_offer_box_style {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 10px 20px 10px 20px;
    margin-bottom: 20px
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
}

.map-container .js-plotly-plot .plotly .mapboxgl-canvas-container {
    border-radius: 16px;
}

.background_circle {
        width: 300px;
        height: 300px,;
        background: rgba(255, 102, 0, 0.16);
        position: absolute;
        top: -150px;
        left: -150px;
        border-radius: 50%
    }

.highlight {
        background-color: rgb(0, 95, 115);
        color: white;
        padding: 2px 10px;
        border-radius: 15px;
        font-weight: 700;
    }

.select_button {
        width: 313px;
        height: 58px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease-in-out;
        margin: 10px auto;
        display: block;
        border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    background-color: #005f73;
    color: #fff;
    outline: none;
    padding: 12px 0px;
            border: none;

    }

/* Hover effect for better UX */
.select_button:hover {
    background-color: #0a9396;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds slight shadow on hover */
}

/* Active effect (immediate response) */
.select_button:active {
    transform: scale(0.95); /* Shrinks the button slightly when pressed */
    transition: none; /* No transition delay on active state */
    background-color: #005f73;
}

/* Focus state for keyboard accessibility */
.select_button:focus {
    box-shadow: 0 0 0 3px rgba(0, 95, 115, 0.5); /* Adds focus ring for accessibility */
    outline: none;
}

.conditions_button {
        background-color: transparent;
        color: rgb(0, 95, 115);
        border: none;
        padding: 5px 15px;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.3s ease-in-out;
        text-decoration: underline;
        font-weight: 600;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease-in-out;
        margin: 10px auto;
        display: block;
        border-radius: 8px;
    }

.save-button-profile {
    display: block;
    margin: 12px auto;
    padding: 14px 0;

    width: 180px;
    border-radius: 24px;

    background-color: #005f73;
    color: #ffffff;

    font-size: 14px;
    font-weight: 500;
    text-align: center;

    cursor: pointer;
    border: none;
    outline: none;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


/* Button group container */
.button-group {
    display: flex;
    gap: 20px;
}

.tag-fav-btn {
    padding: 3px 15px;
    border: 1px solid #ccc;
    border-radius: 30px;
    color: #005f73;
    background-color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.platform-button {
    padding: 3px 15px;
    border-radius: 30px;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Instagram button */
#instagram-button {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* TikTok button */
#tiktok-button {
    background: #000000;
}

/* Active state for both buttons */
.platform-button.active {
    transform: scale(1.1);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Unselected state for both buttons */
.platform-button:not(.active) {
    opacity: 0.5;
    filter: grayscale(50%);
}

/* Hover state */
.platform-button:hover {
    opacity: 0.9;
    filter: grayscale(0%);
}

/* Ensure active button stays prominent on hover */
.platform-button.active:hover {
    opacity: 1;
    filter: none;
}

.profile_picture_avatar {
                    width: 48px;
                    height: 48px;
                    border-radius: 20%;
                    object-fit: cover;
                }


@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Style the custom checkboxes when selected */
.custom-checkbox input[type="checkbox"]:checked {
    background-color: #ee9b00;  /* The color you want */
    border-color: #ee9b00;
}


.btn-accept-file {
                                    color: white;
                                    border: 1px solid #005f73;
                                    padding: 5px 12px;
                                    font-size: 12px;
                                    border-radius: 25px;
                                    cursor: pointer;
                                    background-color: #005f73
                                }

.selected-interest {
    height: 40px;
    background: #005f73;
    border: none;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    padding: 0 20px;
    cursor: pointer;
    margin: 5px;
    flex-grow: 0;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    color: white;
    transform: scale(1.05);
}
.interest-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.interest-button,
.selected-interest {
  transition: all 0.2s ease-in-out;
}

/* Dropdown container */
.material-dropdown {
    font-family: Arial, sans-serif;
    font-size: 14px;
}

/* Selected items with rounded corners and custom color */
.material-dropdown .Select-value {
    padding: 3px 15px;
    border: 1px solid #ccc;
    border-radius: 30px;
    color: #005f73;
    background-color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

/* Dropdown options hover effect */
.material-dropdown .Select-option:hover {
    background-color: #0a9396 !important;
    color: white !important;
}

.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip-container:hover .tooltip-text,
.tooltip-container:focus-within .tooltip-text {
    visibility: visible;  /* Show the tooltip when hovered or focused */
}

.heart-icon {
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
    cursor: pointer; /* Adds a pointer cursor for better interactivity */
    user-select: none; /* Prevents text selection when clicking the icon */
}

.heart-icon.clicked {
    color: #ef476f;
    animation: bounce 0.5s ease-in-out;
}

@keyframes double-bounce {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.25); /* premier agrandissement */
  }
  50% {
    transform: scale(1);    /* retour à létat initial */
  }
  75% {
    transform: scale(1.25); /* deuxième agrandissement */
  }
  100% {
    transform: scale(1);    /* retour final */
  }
}

.heart-icon.clicked-twice {
  color: #ef476f;
  animation: double-bounce 1.3s ease-in-out;
}

/* Bounce animation */
@keyframes bounce {
    0% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.3); /* Slight enlargement for a smoother effect */
    }
    50% {
        transform: scale(1.5); /* Peak size */
    }
    70% {
        transform: scale(1.3); /* Gradual shrink back */
    }
    100% {
        transform: scale(1); /* Return to original size */
    }
}


.attach-button,
.send-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #0084ff;
    margin-left: 5px;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.attach-button:hover,
.send-button:hover {
    background-color: #e6f2ff;
}

/* Hide the actual radio inputs */
.offer-type-radioitems input[type="radio"] {
    display: none;
    font-size: 14px;
}

/* Style the labels as buttons */
.offer-type-radioitems .offer-type-label {
    cursor: pointer;
    padding: 10px 20px;
    font-size: 14px;
    border: 2px solid #005f73;  /* Primary color border */
    border-radius: 8px;
    background-color: white;
    color: #005f73;
    transition: background-color 0.3s, color 0.3s;
    font-weight: bold;
    text-align: center;
    flex: 1;
}

.segmented-control-custom .btn-outline-primary {
  /* --bs- variables sont des variables CSS de Bootstrap 5 */
  --bs-btn-color: #005f73;                  /* Couleur du texte */
  --bs-btn-border-color: #005f73;           /* Couleur de la bordure */
  --bs-btn-hover-bg: #005f73;               /* Fond au survol */
  --bs-btn-hover-border-color: #005f73;      /* Bordure au survol */
  --bs-btn-hover-color: #fff;               /* Texte au survol */
  --bs-btn-active-bg: #005f73;              /* Fond quand cliqué/actif */
  --bs-btn-active-border-color: #005f73;     /* Bordure quand cliqué/actif */
  --bs-btn-active-color: #fff;              /* Texte quand cliqué/actif */
}

/* Style spécifique pour le bouton actif pour garantir que le fond reste coloré */
.segmented-control-custom .btn-outline-primary.active {
    background-color: #005f73;
    color: white;
}

/* When the radio button is checked, style the label differently */
.offer-type-radioitems input[type="radio"]:checked + .offer-type-label {
    background-color: #005f73;
    color: white;
    font-size: 14px;
}

/* Optional: Hover effect */
.offer-type-radioitems .offer-type-label:hover {
    background-color: #e0f7fa;
}

/* assets/custom.css */
.custom-modal-content {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.unified-pricing-card {
    display: flex; /* Ajouté pour un meilleur contrôle de la hauteur des enfants */
    flex-direction: column; /* Assure que les enfants sempilent verticalement */
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px -15px rgba(0, 95, 115, 0.2);
    padding: 25px 40px; /* Padding légèrement ajusté pour léquilibre */
    flex-shrink: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

@keyframes slideUpFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/**
 * ===================================================================
 * Composant de sélection (Billing Toggle)
 * ===================================================================
 */

.billing-toggle-container {
    position: relative;
    display: flex;
    background-color: rgba(0, 95, 115, 0.08);
    border-radius: 24px;
    padding: 4px;
    margin: 0 auto;
}

.glider {
    position: absolute;
    top: 4px;
    bottom: 4px;
    width: calc((100% - 8px) / 3);
    background-color: #005f73;
    border-radius: 20px;
    box-shadow: 0 4px 12px -4px rgba(0, 95, 115, 0.6);
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

#plan-selector {
    display: flex !important; /* Maintenu pour surcharger le JS inline */
    flex-wrap: nowrap !important;
    width: 100%;
    align-items: stretch;
}

#plan-selector .form-check {
    flex: 1;
    display: flex;
}

.billing-toggle-container .btn {
  position: relative;
  flex: 1;
  z-index: 2;
  background-color: transparent !important; /* Surcharge nécessaire */
  border: none !important;
  box-shadow: none !important;
  color: #005f73;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  transition: color 0.4s ease;
        font-size: 14px;
        padding: 8px 5px;
        line-height: 1.3;
        min-height: 50px; /* Assure une hauteur constante même avec 2 lignes de texte */
        display: flex;
        align-items: center;
        justify-content: center;


}

.billing-toggle-container .btn.active {
    color: white !important;
}

.billing-toggle-container.free-active .glider   { transform: translateX(0%); }
.billing-toggle-container.monthly-active .glider { transform: translateX(100%); }
.billing-toggle-container.yearly-active .glider  { transform: translateX(200%); }


/**
 * ===================================================================
 * Styles génériques et de contenu
 * ===================================================================
 */

.price-amount {
    font-size: 42px;
    font-weight: 700;
    color: #111827;
    transition: font-size 0.3s ease;
}

.price-period {
    font-size: 16px;
    color: #6B7280;
    margin-left: 8px;
}

.features-list li {
    margin-bottom: 18px;
    color: #34495E;
    font-size: 16px;
}

.feature-item .d-flex > div:last-child {
  line-height: 1.4;
}

.subscribe-button-unified {
    width: 100%;
    background-color: #005f73;
    border: none;
    color: white;
    font-weight: 600;
    padding: 14px;
    border-radius: 12px;
    transition: all 0.3s ease-out;
}

.subscribe-button-unified:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(0, 95, 115, 0.4);
    background-color: #0a9396;
}

.discount-pill-in-toggle {
    display: inline-block;
    vertical-align: middle;
    background-color: #E6F6F2;
    color: #0B997A;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 12px;
    margin-left: 8px;
    line-height: 1;
}

.highlighted-feature {
    font-weight: 600;
    color: #005f73;
}

.highlighted-feature .iconify {
    color: #005f73;
}


/**
 * ===================================================================
 * Ajustements Responsives
 * ===================================================================
 */

/* -- Pour les tablettes et plus petit -- */
@media (max-width: 767.98px) {
    /* Si influencer_main_container est défini dans un autre fichier, cette règle sappliquera */
    .influencer_main_container {
        padding: 0 10px;
    }

    .unified-pricing-card {
        padding: 20px 15px;
    }

    /* --- Correction du Toggle pour les petits écrans --- */
    .billing-toggle-container .btn {
        font-size: 14px;
        padding: 8px 5px;
        white-space: normal !important; /* La règle la plus importante : permet le retour à la ligne */
        line-height: 1.3;
        min-height: 50px; /* Assure une hauteur constante même avec 2 lignes de texte */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .discount-pill-in-toggle {
        font-size: 11px;
        padding: 3px 6px;
        margin-left: 4px;
    }

    /* --- Ajustements de la typographie --- */
    .price-amount {
        font-size: 36px;
    }

    /* Si influencer-title est défini dans un autre fichier, cette règle sappliquera */
    .influencer-title {
        font-size: 28px !important;
        margin-bottom: 40px !important;
    }
}

/* -- Pour les mobiles très étroits -- */
@media (max-width: 360px) {
    .billing-toggle-container .btn {
        font-size: 13px; /* On réduit encore un peu pour plus de confort */
    }
}

.custom-modal-dialog .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* --- En-tête --- */
.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
}

.modal-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
}

/* --- Corps --- */
.modal-body-content {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: #495057;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* --- Champs de saisie (Input, Textarea) --- */
.form-control {
    width: 100%;
    padding: 0.65rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    color: #495057;
    background-color: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: #005f73;
    box-shadow: 0 0 0 0.2rem rgba(0, 95, 115, 0.2);
    outline: none;
}

.text-area-input {
    resize: vertical;
    min-height: 80px;
}

/* --- Barre de Recherche --- */
.search-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    background-color: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-bar-wrapper:focus-within {
    border-color: #005f73;
    box-shadow: 0 0 0 0.2rem rgba(0, 95, 115, 0.2);
}
.search-input {
    border: none !important;
    box-shadow: none !important;
    padding-left: 0;
}
.search-input:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* --- Section Logo/Photo --- */
.photo-upload-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 10px;
    border: 2px dashed #e0e0e0;
    border-radius: 12px;
    background-color: #fdfdfd;
    height: 100%;
}

.profile-photo-preview {
    height: 60px;
    width: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background-color: #e9ecef; /* Placeholder color */
}

.upload-component {
    text-align: center;
    cursor: pointer;
}

.upload-area-content {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}
.upload-area-content:hover {
    background-color: #e9f5ff;
}

.upload-text {
    color: #0056b3;
    font-weight: 500;
    font-size: 0.9rem;
}

/* --- Suggestions d'adresse --- */
.location-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050; /* Doit être au-dessus du reste de la modale */
    max-height: 200px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    margin-top: -1px; /* Colle les suggestions à l'input */
}

/* --- Pied de page et Boutons --- */
.modal-footer-buttons {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.btn-primary-action, .btn-secondary-outline {
    border-radius: 25px;
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.btn-primary-action {
    background-color: #005f73;
    color: white;
    border-color: #005f73;
}
.btn-primary-action:hover {
    background-color: #004c5c;
    border-color: #004c5c;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 95, 115, 0.2);
}

.btn-secondary-outline {
    background-color: transparent;
    color: #6c757d;
    border-color: #6c757d;
}
.btn-secondary-outline:hover {
    background-color: #6c757d;
    color: white;
}

.chat-input-area-container {
    position: fixed;
    bottom: 70px;
    left: 0;
    right: 0;
    padding: 10px;
    background-color: #f9fafb; /* A light, clean background */
    border-top: 1px solid #e5e7eb;
}

/* The visual input bar that groups all controls */
.chat-input-bar {
    display: flex;
    align-items: flex-end; /* Aligns items to the bottom, perfect for a growing textarea */
    gap: 10px; /* Consistent spacing between controls */
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 24px; /* Fully rounded corners */
    padding: 6px 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    max-width: 500px;
    margin: 0 auto;
}

/* Adds a highlight effect when the user is typing */
.chat-input-bar:focus-within {
    border-color: #005f73;
    box-shadow: 0 0 0 3px rgba(0, 95, 115, 0.1);
}

/* Wrapper for the dcc.Upload component */
.chat-input-bar .dcc-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center; /* Keeps the button vertically centered */
}

/* The textarea where the user types their message */
.chat-input-bar textarea {
    flex-grow: 1; /* Allows the textarea to take up available space */
    border: none;
    outline: none;
    resize: none;
    background-color: transparent;
    font-size: 16px;
    line-height: 1.5;
    padding: 8px 5px;
    margin: 0;
    max-height: 125px; /* Limits growth to about 5 lines */
    overflow-y: auto; /* Adds a scrollbar if the text exceeds the max height */
    width: 100%;
    color: #111827;
}

/* Custom placeholder color */
.chat-input-bar textarea::placeholder {
    color: #9ca3af;
}

/* A shared style for the round icon buttons (Attach & Send) */
.chat-action-button {
    flex-shrink: 0; /* Prevents buttons from being squashed */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background-color: transparent;
    color: #4b5563; /* Default icon color */
    transition: background-color 0.2s ease;
    align-self: center;
}

/* Subtle feedback on hover */
.chat-action-button:hover {
    background-color: #f3f4f6;
}

/* Specific styling for the Send button */
#send-button-chat {
    background-color: #005f73; /* Primary brand color */
    color: white;
}

#send-button-chat:hover {
    background-color: #004c5c; /* A darker shade for the hover state */
}

/* Style for the disabled send button */
#send-button-chat:disabled {
    background-color: #94d2bd; /* A lighter, muted color */
    color: #e0f2f1;
    cursor: not-allowed;
}

/* The special "Valider" button shown to businesses */
.chat-validate-button {
    flex-shrink: 0;
    align-self: center;
    background-color: #10b981; /* A positive green color */
    color: white;
    font-weight: 600;
    font-size: 14px;
    border-radius: 20px;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.chat-validate-button:hover {
    background-color: #059669;
}

/* Conteneur principal du composant de sélection */
.media-selection-container {
    padding: 16px;
    background-color: #f9fafb; /* Fond clair pour l'ensemble du composant */
    display: flex;
    flex-direction: column;
    gap: 20px; /* Espace entre les sections (compteurs, grille, actions) */
}

/* --- Section des compteurs --- */
.media-stats-header {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.stat-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.stat-card .icon {
    flex-shrink: 0;
    color: #005f73;
}

.stat-card-info .count {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.stat-card-info .label {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

/* --- Grille des miniatures sélectionnées --- */
.selected-media-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 4px; /* Empêche les ombres d'être coupées */
    margin: 0 -4px;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #ccc #f9fafb; /* Firefox */
}
.selected-media-grid::-webkit-scrollbar {
    height: 6px;
}
.selected-media-grid::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}

.thumbnail-card {
    position: relative;
    flex-shrink: 0; /* Empêche les cartes de se déformer */
}

.thumbnail-card-media {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}
.thumbnail-card:hover .thumbnail-card-media {
    transform: scale(1.05);
}


.thumbnail-remove-button {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #ef4444; /* Rouge pour la suppression */
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.thumbnail-remove-button:hover {
    background-color: #ef4444;
    color: white;
    transform: scale(1.1);
}

/* --- Panneau des boutons d'action --- */
.media-selection-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

/* Style de base pour les boutons de cette section */
.media-action-button {
    width: 100%;
    max-width: 320px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

/* Style pour l'action principale : "Sélectionner" */
.media-action-button.primary {
    background-color: #005f73;
    color: white;
    border-color: #005f73;
}
.media-action-button.primary:hover:not(:disabled) {
    background-color: #004c5c;
    border-color: #004c5c;
    box-shadow: 0 4px 10px rgba(0, 95, 115, 0.2);
    transform: translateY(-2px);
}
/* Style quand le bouton est sélectionné */
.media-action-button.primary.selected {
    background-color: #ffffff;
    color: #005f73;
}

/* Bouton de validation final */
.media-action-button.validate {
    background-color: #ee9b00;
    color: white;
    border-color: #ee9b00;
}
.media-action-button.validate:hover:not(:disabled) {
    background-color: #d98e00;
}

/* Bouton d'action secondaire */
.media-action-button.secondary {
    background-color: transparent;
    color: #4b5563;
    border-color: #d1d5db;
}
.media-action-button.secondary:hover:not(:disabled) {
    background-color: #f3f4f6;
    border-color: #9ca3af;
}

/* État désactivé pour tous les boutons */
.media-action-button:disabled {
    background-color: #e5e7eb;
    color: #9ca3af;
    border-color: #e5e7eb;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Style du message d'erreur */
.selection-error-message {
    color: #dc3545;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

/* Placeholder quand aucune sélection n'est faite */
.no-selection-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    background-color: #fdfdfd;
    color: #6b7280;
    text-align: center;
    min-height: 100px;
}

.no-selection-placeholder .icon {
    margin-bottom: 8px;
}

.no-selection-placeholder p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

/* confirmation_download_view styles */
.video-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.video-preview-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.video-preview-media video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background-color: #f0f2f5;
    display: block;
}

.video-preview-info {
    padding: 12px;
    font-size: 14px;
    color: #4a5568;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-top: 1px solid #f0f2f5;
}

/* assets/magic.css */

/* assets/magic.css */

@keyframes shimmer-effect {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.magic-reveal {
  /* L'animation dure 1.5s et ne se joue qu'une fois */
  animation: shimmer-effect 1.5s linear 1;

  /* On crée un dégradé très large qui va se déplacer sur le fond */
  background-image: linear-gradient(
    to right,
    transparent 20%,
    rgba(255, 238, 179, 0.7) 40%, /* Lueur dorée */
    rgba(232, 215, 255, 0.7) 60%, /* Lueur violette */
    transparent 80%
  );

  /* Le dégradé est beaucoup plus large que l'élément pour donner l'effet de balayage */
  background-size: 2000px 100%;
  background-repeat: no-repeat;
  border-radius: 12px; /* Assure que l'effet respecte les bords arrondis */
}

.btn-ghost-teal:hover {
  background-color: #0E7490 !important;
  color: #ffffff !important;
  border-color: #0E7490 !important;
  transform: translateY(-1px);
}
.btn-ghost-teal:active {
  transform: translateY(0);
  opacity: .95;
}
#ambassador-card { backdrop-filter: saturate(115%) blur(0.5px); }

.adv-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
}