/* assets/styles/chat.css */
.chat-window {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    height: 400px;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.conversation {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.message {
    margin-bottom: 10px;
    padding: 5px;
    border-radius: 5px;
    max-width: 80%;
}

.message.sent {
    background: #dcf8c6;
    margin-left: auto;
}

.message.received {
    background: #f1f0f0;
    margin-right: auto;
}

.message-form {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ccc;
}

.message-form textarea {
    flex: 1;
    resize: none;
    margin-right: 10px;
}
/* assets/styles/chat.css */
.chat-toggle-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
}

.chat-toggle-button:hover {
    background-color: #0056b3;
}

.chat-window {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    height: 400px;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.conversation {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.message {
    margin-bottom: 10px;
    padding: 5px;
    border-radius: 5px;
    max-width: 80%;
}

.message.sent {
    background: #dcf8c6;
    margin-left: auto;
}

.message.received {
    background: #f1f0f0;
    margin-right: auto;
}

.message-form {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ccc;
}

.message-form textarea {
    flex: 1;
    resize: none;
    margin-right: 10px;
}
/* assets/styles/chat.css */
.open-chat-button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
}

.open-chat-button:hover {
    background-color: #0056b3;
}

.chat-window {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    height: 400px;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.conversation {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.message {
    margin-bottom: 10px;
    padding: 5px;
    border-radius: 5px;
    max-width: 80%;
}

.message.sent {
    background: #dcf8c6;
    margin-left: auto;
}

.message.received {
    background: #f1f0f0;
    margin-right: auto;
}

.message-form {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ccc;
}

.message-form textarea {
    flex: 1;
    resize: none;
    margin-right: 10px;
}

.elegant-gradient {
    background: linear-gradient(
        135deg,
        #ff0080 0%,
        #ff6b9d 25%,
        #ff8a00 50%,
        #ffd166 75%,
        #ff0080 100%
    );
    background-size: 300% 300%;
    animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.logo-container {
    padding: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.shine-text {
    background: linear-gradient(90deg, 
        #ffffff 0%, 
        #ffebcd 50%, 
        #ffffff 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}


.animated-gradient {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 10s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.carousel-img-wrapper {
    overflow: hidden;
}

.bg-gradient-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

.carousel-caption {
    z-index: 10;
}

.caption-content {
    animation: fadeInUp 0.8s ease-out;
    backdrop-filter: blur(5px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-caption {
        top: 40% !important;
        padding: 0 15px;
    }
    
    .caption-content {
        padding: 1.5rem !important;
        max-width: 95% !important;
    }
    
    .carousel-caption h3 {
        font-size: 1.5rem !important;
    }
    
    .carousel-caption p {
        font-size: 1rem !important;
    }
    
    .carousel-caption .btn {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .carousel-caption {
        top: 35% !important;
    }
    
    .caption-content {
        padding: 1rem !important;
    }
    
    .carousel-caption h3 {
        font-size: 1.25rem !important;
    }
    
    .carousel-caption p {
        font-size: 0.9rem !important;
        margin-bottom: 0.75rem !important;
    }
}

            :root {
                --primary-color: #4a6cf7;
                --secondary-color: #6c757d;
                --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
                --gradient-warning: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            }

            .action-banner {
                background: var(--gradient-primary);
                box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            }

            .login-card {
                border-radius: 20px;
                transition: transform 0.3s ease;
            }

            .login-card:hover {
                transform: translateY(-5px);
            }

            .logo-img {
                width: 50px;
                height: 50px;
                object-fit: contain;
                border-radius: 12px;
            }

            .carousel-section {
                min-height: 500px;
            }

            .carousel-img-wrapper {
                height: 500px;
                position: relative;
            }

            .object-fit-cover {
                object-fit: cover;
            }

            .carousel-item {
                transition: transform 0.6s ease-in-out;
            }

            .carousel-caption {
                bottom: 20px;
                left: 50%;
                transform: translateX(-50%);
                width: 90%;
            }

            .form-control {
                border-radius: 10px;
                border: 2px solid #e9ecef;
                transition: all 0.3s;
            }

            .form-control:focus {
                border-color: var(--primary-color);
                box-shadow: 0 0 0 0.25rem rgba(74, 108, 247, 0.25);
            }

            .btn-primary {
                background: var(--gradient-primary);
                border: none;
                border-radius: 12px;
            }

            .btn-success {
                background: var(--gradient-warning);
                border: none;
                border-radius: 12px;
            }

            .input-group-text {
                border-radius: 10px 0 0 10px;
            }

            /* Responsive */
            @media (max-width: 768px) {
                .carousel-img-wrapper {
                    height: 350px;
                }
                
                .login-card {
                    margin-top: 1rem;
                }
                
                .action-banner .btn {
                    width: 100%;
                    margin-bottom: 0.5rem;
                }
                
                .action-banner .d-flex {
                    flex-direction: column;
                }
                
                .action-banner span {
                    margin: 0.5rem 0;
                }
            }

            @media (max-width: 576px) {
                .card-body {
                    padding: 1.5rem !important;
                }
                
                .btn-lg {
                    padding: 0.75rem 1rem;
                    font-size: 1rem;
                }
            }

            .user-card {
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
}

.user-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07) !important;
    z-index: 10;
    position: relative;
}

.card-img-wrapper {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.user-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.user-card:hover .user-profile-image {
    transform: scale(1.08);
}

.image-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.user-card:hover .image-overlay {
    opacity: 1;
}

/* Badge en ligne avec animation */
.pulse-online {
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 rgba(40, 167, 69, 0.4);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

/* Couleurs personnalisées */
.text-pink { color: #ff6b9d !important; }
.text-blue { color: #4a6cf7 !important; }
.text-brown { color: #a0522d !important; }

.bg-light-purple {
    background: linear-gradient(135deg, rgba(118, 75, 162, 0.1) 0%, rgba(118, 75, 162, 0.2) 100%) !important;
}

.bg-light-subtle { background-color: rgba(248, 249, 250, 0.7) !important; }

/* Dégradé bouton */
.btn-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-weight: 500;
}

.btn-gradient-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6b4199 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Effet hover lift */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

/* Effet hover sur le prénom */
.hover-primary:hover { color: #4a6cf7 !important; }

/* Boutons ronds */
.like-button, .chat-button {
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.like-button:hover {
    transform: scale(1.15);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.chat-button {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
}

.chat-button:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.pulse-on-hover:hover {
    animation: pulse-hover 1s infinite;
}

@keyframes pulse-hover {
    0%, 100% { transform: scale(1.15); }
    50% { transform: scale(1.25); }
}

/* Statistiques */
.user-stats { gap: 8px; }
.stat-item { flex: 1; min-width: 0; }
.stat-value { line-height: 1; font-weight: 600; }
.stat-label { font-size: 0.75rem; opacity: 0.8; }

/* Search info avec bordure animée */
.search-info { position: relative; overflow: hidden; }
.search-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4a6cf7, transparent);
    animation: slideBorder 3s infinite;
}
@keyframes slideBorder {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Responsive design avancé */
@media (min-width: 1400px) {
    .col-xl-2 { width: 20%; max-width: 20%; }
    .card-img-wrapper { height: 320px; }
}
@media (min-width: 1200px) and (max-width: 1399px) {
    .col-xl-2 { width: 20%; max-width: 20%; }
    .card-img-wrapper { height: 300px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .col-lg-3 { width: 25%; max-width: 25%; }
    .card-img-wrapper { height: 280px; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .col-md-4 { width: 33.333%; max-width: 33.333%; }
    .card-img-wrapper { height: 260px; }
}
@media (min-width: 576px) and (max-width: 767px) {
    .col-sm-6 { width: 50%; max-width: 50%; }
    .card-img-wrapper { height: 240px; }
    .user-stats { flex-wrap: wrap; }
    .stat-item { flex: 0 0 30%; margin-bottom: 8px; }
}
@media (max-width: 575px) {
    .col-sm-6 { width: 100%; max-width: 100%; }
    .card-img-wrapper { height: 280px; }
    .user-stats { flex-direction: column; align-items: center; gap: 15px; }
    .stat-item {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    .stat-item:last-child { border-bottom: none; }
    .stat-value { font-size: 1.1rem; }
    .stat-label { font-size: 0.85rem; }
}

/* Correction pour les images manquantes */
img[src*="photo_profil_"] {
    object-fit: contain;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* =========================
   COMPACT (sans tout casser)
   ========================= */
.user-card .card-body{
  padding: .75rem !important;       /* au lieu de p-3 visuel */
}

.user-card .mb-3{ margin-bottom: .6rem !important; }
.user-card .mb-2{ margin-bottom: .35rem !important; }

/* Recherche plus compacte */
.user-card .search-info{
  padding: .6rem .65rem !important;
  margin-bottom: .6rem !important;
}
.user-card .search-info .mb-2{ margin-bottom: .35rem !important; }
.user-card .search-info p{ line-height: 1.15; }

/* Réduire l'interligne global de la card (léger) */
.user-card{ line-height: 1.15; }

/* =========================
   Bouton action principal compact
   ========================= */
.btn-action-compact{
  padding: .22rem .7rem !important; /* plus petit */
  line-height: 1.1 !important;
}
.btn-action-text{
  font-size: .78rem;                /* texte plus petit */
  font-weight: 600;
}
.btn-action-compact i{
  font-size: .85rem;                /* icône plus petite */
}

/* =========================
   Fix "éléments qui débordent"
   (prénom long, labels, etc.)
   ========================= */
.user-card .d-flex{ min-width: 0; }                 /* important */
.user-card .text-truncate{ min-width: 0; }          /* important */
.user-card .card-title{ max-width: 100%; }          /* safe */

/* Les stats restent identiques mais empêchent le débordement */
.user-stats .stat-item{ min-width: 0; }
.user-stats .stat-label{ white-space: nowrap; }
.user-stats .stat-value{ overflow: hidden; text-overflow: ellipsis; }

/* Badges âge/sexe visibles + un peu plus compact */
.user-card .badge.bg-light-subtle{
  background-color: rgba(233, 236, 239, .9) !important; /* plus contrasté */
  color: #212529 !important;
  padding: .2rem .55rem !important;
  font-size: .78rem;
}

  :root {
        --primary-color: #4a6cf7;
        --secondary-color: #6c757d;
        --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        --gradient-warning: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    }

    .hero-section {
        background: var(--gradient-primary);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .brand-logo {
        width: 50px;
        height: 50px;
        object-fit: contain;
        border-radius: 12px;
        background: white;
        padding: 5px;
    }

    .register-card {
        border-radius: 20px;
        transition: transform 0.3s ease;
    }

    .register-card:hover {
        transform: translateY(-5px);
    }

    /* Dégradé animé vibrant et élégant pour l'en-tête d'inscription */
    .romantic-animated-gradient {
        background: linear-gradient(
            -45deg,
            #ff0080,  /* Rose vif */
            #ff6b9d,  /* Rose corail */
            #ff8a00,  /* Orange vif */
            #ffd166,  /* Jaune doré */
            #ff0080   /* Retour au rose */
        );
        background-size: 300% 300%;
        animation: gradientShift 8s ease infinite;
        position: relative;
        overflow: hidden;
        border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    }

    /* Animation du dégradé */
    @keyframes gradientShift {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    /* Cœurs flottants */
    .floating-hearts {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 1;
    }

    .floating-heart {
        position: absolute;
        color: rgba(255, 255, 255, 0.25);
        font-size: 1.5rem;
        animation: floatHeart 15s infinite linear;
    }

    .heart-1 { top: 20%; left: 10%; animation-delay: 0s; }
    .heart-2 { top: 60%; right: 15%; animation-delay: -3s; }
    .heart-3 { bottom: 30%; left: 20%; animation-delay: -6s; }
    .heart-4 { top: 40%; right: 25%; animation-delay: -9s; }
    .heart-5 { top: 70%; left: 30%; animation-delay: -12s; }

    @keyframes floatHeart {
        0%, 100% {
            transform: translateY(0) rotate(0deg) scale(1);
            opacity: 0.3;
        }
        25% {
            transform: translateY(-25px) rotate(90deg) scale(1.1);
            opacity: 0.5;
        }
        50% {
            transform: translateY(0) rotate(180deg) scale(1);
            opacity: 0.3;
        }
        75% {
            transform: translateY(25px) rotate(270deg) scale(0.9);
            opacity: 0.5;
        }
    }

    /* Étoiles scintillantes */
    .twinkling-stars {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 1;
    }

    .star {
        position: absolute;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        animation: twinkle 4s infinite;
    }

    .star-1 { width: 3px; height: 3px; top: 25%; left: 20%; animation-delay: 0s; }
    .star-2 { width: 2px; height: 2px; top: 60%; right: 25%; animation-delay: 1s; }
    .star-3 { width: 4px; height: 4px; bottom: 40%; left: 40%; animation-delay: 2s; }
    .star-4 { width: 2px; height: 2px; top: 35%; right: 40%; animation-delay: 3s; }

    @keyframes twinkle {
        0%, 100% { 
            opacity: 0.2; 
            transform: scale(0.8); 
        }
        50% { 
            opacity: 1; 
            transform: scale(1.2); 
        }
    }

    /* Dégradé animé pour la galerie */
    .vibrant-gradient {
        background: linear-gradient(90deg, 
            #ff6b9d 0%, 
            #ff8a00 25%, 
            #ffd166 50%, 
            #ff8a00 75%, 
            #ff6b9d 100%
        );
        background-size: 200% 100%;
        animation: slideGradient 5s linear infinite;
    }

    @keyframes slideGradient {
        0% { background-position: 0% 50%; }
        100% { background-position: 200% 50%; }
    }

    .pulse-icon {
        animation: pulseGlow 2s infinite;
    }

    @keyframes pulseGlow {
        0%, 100% { 
            transform: scale(1); 
            text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
        }
        50% { 
            transform: scale(1.1); 
            text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
        }
    }

    /* Animation Font Awesome beat */
    .fa-beat {
        animation: fa-beat 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
    }

    @keyframes fa-beat {
        0%, 90% { transform: scale(1); }
        45% { transform: scale(1.15); }
    }

    /* Effets de texte */
    .text-shadow {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .text-white-90 {
        color: rgba(255, 255, 255, 0.9);
    }

    .text-white-80 {
        color: rgba(255, 255, 255, 0.8);
    }

    /* Bouton avec effet de verre */
    .btn-light {
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
    }

    .btn-light:hover {
        background: rgba(255, 255, 255, 1);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    /* Bouton d'inscription avec pulsation */
    .pulse-button {
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.02); }
        100% { transform: scale(1); }
    }

    .section-title {
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid #e9ecef;
    }

    /* Section sécurité - mise en forme spécifique */
    .security-section {
        background: linear-gradient(135deg, rgba(248, 249, 250, 0.5) 0%, rgba(233, 236, 239, 0.5) 100%);
        border-radius: 12px;
        padding: 1.5rem;
        border: 1px solid rgba(0, 0, 0, 0.05);
        margin-bottom: 1.5rem !important;
    }

    .security-section .section-title {
        border-bottom: 2px solid var(--primary-color);
        color: var(--primary-color);
        font-weight: bold;
    }

    /* Section observations importantes isolée - NOUVEAU STYLE */
    .important-notes-section {
        background: linear-gradient(135deg, rgba(255, 193, 7, 0.05) 0%, rgba(255, 193, 7, 0.02) 100%);
        border-radius: 12px;
        padding: 1rem;
        border: 2px solid rgba(255, 193, 7, 0.2);
        margin-top: 1rem;
        margin-bottom: 1.5rem !important;
    }

    .important-notes-section .alert {
        margin-bottom: 0;
        border-left: 4px solid #ffc107;
        background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 255, 255, 0.9) 100%);
    }

    /* Cartes des modes de rencontre */
    .mode-card {
        transition: all 0.3s ease;
        height: 100%;
    }

    .mode-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .mode-icon {
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Texte avec dégradé */
    .text-gradient {
        background: linear-gradient(90deg, #ff6b9d 0%, #ff8a00 50%, #ffd166 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-size: 1.1rem;
    }

    /* Cartes d'information */
    .profile-tips,
    .search-tools,
    .important-knowledge {
        padding: 1rem;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.7);
        margin-bottom: 1rem;
        border-left: 4px solid;
    }

    .profile-tips {
        border-left-color: #4a6cf7;
    }

    .search-tools {
        border-left-color: #17a2b8;
    }

    .important-knowledge {
        border-left-color: #dc3545;
    }

    /* Espacement pour les champs de mot de passe */
    .password-tips {
        margin-bottom: 1.5rem !important;
        padding-bottom: 0.5rem;
        border-bottom: 1px dashed #dee2e6;
    }

    .form-floating > .form-control,
    .form-floating > .form-select {
        height: calc(3.5rem + 2px);
        line-height: 1.25;
        border-radius: 10px;
        border: 2px solid #e9ecef;
        transition: all 0.3s;
    }

    .form-floating > .form-control:focus,
    .form-floating > .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.25rem rgba(74, 108, 247, 0.25);
    }

    .form-floating > label {
        padding: 1rem 0.75rem;
        color: #6c757d;
    }

    /* Style pour les messages d'erreur Symfony */
    .invalid-feedback {
        display: block;
        color: #dc3545;
        font-size: 0.875em;
        margin-top: 0.25rem;
        animation: fadeIn 0.3s ease-in;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-5px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .card-border {
        border: 1px solid #dee2e6;
        border-radius: 10px;
        background: #f8f9fa;
    }

    .gallery-item {
        aspect-ratio: 1/1;
        overflow: hidden;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .hover-zoom:hover {
        transform: scale(1.05);
    }

    .gallery-overlay {
        background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .gallery-item:hover .gallery-overlay {
        opacity: 1;
    }

    .separator {
        display: flex;
        align-items: center;
        text-align: center;
    }

    .separator::before,
    .separator::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #dee2e6;
    }

    .separator span {
        padding: 0 1rem;
    }

    .btn-primary {
        background: var(--gradient-primary);
        border: none;
        border-radius: 12px;
        transition: all 0.3s ease;
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(74, 108, 247, 0.3);
    }

    /* Section de confiance */
    .trust-section {
        background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(233, 236, 239, 0.8) 100%);
        border-radius: 15px;
        padding: 1rem !important;
    }

    .trust-item {
        padding: 0.5rem;
    }

    .trust-icon {
        margin-bottom: 0.5rem;
    }

    .trust-number {
        font-size: 1.5rem;
        color: var(--primary-color);
    }

    .trust-label {
        color: #6c757d;
    }

    /* Section FAQ */
    .accordion-button {
        font-size: 0.9rem;
        font-weight: 600;
        border-radius: 8px !important;
    }

    .accordion-button:not(.collapsed) {
        background-color: rgba(74, 108, 247, 0.1);
        color: var(--primary-color);
    }

    /* Indicateur de force mot de passe */
    .password-strength .progress-bar[data-strength="weak"] {
        width: 25%;
        background-color: #dc3545;
    }

    .password-strength .progress-bar[data-strength="medium"] {
        width: 50%;
        background-color: #ffc107;
    }

    .password-strength .progress-bar[data-strength="strong"] {
        width: 100%;
        background-color: #28a745;
    }

    /* Diviseur */
    hr {
        border-color: rgba(0, 0, 0, 0.1);
    }

    /* Responsive */
    @media (max-width: 992px) {
        .mode-card {
            margin-bottom: 1rem;
        }
    }

    @media (max-width: 768px) {
        .hero-section {
            padding: 2rem 0 !important;
        }
        
        .hero-section h1 {
            font-size: 1.75rem !important;
        }
        
        .card-body {
            padding: 1.5rem !important;
        }
        
        .gallery-section {
            margin-top: 2rem;
        }
        
        .btn-lg {
            padding: 0.75rem 1rem;
        }
        
        .romantic-animated-gradient {
            padding: 2rem 1rem !important;
        }
        
        .floating-heart {
            font-size: 1.2rem;
        }
        
        .trust-item {
            padding: 0.25rem;
        }
        
        .trust-number {
            font-size: 1.2rem;
        }
        
        .security-section,
        .important-notes-section {
            padding: 1rem;
        }
        
        .important-notes-section .row.g-3 {
            gap: 0.5rem;
        }
        
        .mode-card {
            margin-bottom: 1rem;
        }
    }

    @media (max-width: 576px) {
        .container-fluid {
            padding-left: 0.5rem;
            padding-right: 0.5rem;
        }
        
        .form-floating > .form-control,
        .form-floating > .form-select {
            height: calc(3rem + 2px);
        }
        
        .trust-section .row {
            gap: 0.5rem;
        }
        
        .security-section .section-title,
        .important-notes-section h6 {
            font-size: 0.9rem;
        }
        
        .important-notes-section .mode-card {
            padding: 1rem;
        }
        
        .mode-icon {
            height: 50px;
        }
        
        .mode-icon i {
            font-size: 1.5rem;
        }
        
        .password-tips {
            margin-bottom: 1rem !important;
        }
    }

    /* Optimisation des performances */
    @media (prefers-reduced-motion: reduce) {
        .romantic-animated-gradient,
        .vibrant-gradient,
        .floating-heart,
        .star,
        .pulse-icon,
        .pulse-button,
        .fa-beat {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
.like-btn {
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.like-btn:hover {
    transform: scale(1.05);
}

.like-btn i {
    transition: transform 0.2s ease, color 0.2s ease;
}

.like-btn.liked i {
    animation: heartBeat 0.5s ease;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1); }
    75% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Style minimaliste premium */
.heart-like {
    all: unset;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    background: transparent;
    border: 1.5px solid transparent;
}

/* Container pour les effets */
.heart-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* État non liké - Design sobre et chic */
.heart-unliked {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-color: #e5e7eb;
    box-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.04),
        inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.heart-unliked:hover {
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 
        0 4px 20px rgba(220, 38, 38, 0.12),
        inset 0 1px 1px rgba(255, 255, 255, 0.9);
    background: linear-gradient(145deg, #ffffff, #fef2f2);
}

.heart-unliked .fa-heart {
    color: #6b7280;
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.heart-unliked:hover .fa-heart {
    color: #dc2626;
    transform: scale(1.1);
}

/* État liké - Design premium avec effet de profondeur */
.heart-liked {
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.95) 0%, 
        rgba(220, 38, 38, 0.95) 100%);
    box-shadow: 
        0 4px 20px rgba(220, 38, 38, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 2px 4px rgba(0, 0, 0, 0.1) inset;
    animation: gentlePop 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.heart-liked:hover {
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 1) 0%, 
        rgba(220, 38, 38, 1) 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 25px rgba(220, 38, 38, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset,
        0 2px 4px rgba(0, 0, 0, 0.15) inset;
}

.heart-liked .fa-heart {
    color: white;
    font-size: 1.3rem;
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.2),
        0 0 10px rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
    animation: heartBeat 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Fond pour l'effet de brillance */
.heart-bg {
    position: absolute;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.heart-liked .heart-bg {
    opacity: 1;
}

/* Animation du cœur qui bat */
@keyframes heartBeat {
    0% {
        transform: scale(1);
        text-shadow: 
            0 1px 3px rgba(0, 0, 0, 0.2),
            0 0 10px rgba(255, 255, 255, 0.3);
    }
    15% {
        transform: scale(1.25);
        text-shadow: 
            0 2px 6px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(255, 255, 255, 0.5);
    }
    30% {
        transform: scale(1.1);
    }
    45% {
        transform: scale(1.3);
        text-shadow: 
            0 3px 9px rgba(0, 0, 0, 0.3),
            0 0 25px rgba(255, 255, 255, 0.6);
    }
    60% {
        transform: scale(1.15);
    }
    75% {
        transform: scale(1.25);
    }
    90%, 100% {
        transform: scale(1);
        text-shadow: 
            0 1px 3px rgba(0, 0, 0, 0.2),
            0 0 10px rgba(255, 255, 255, 0.3);
    }
}

/* Animation d'apparition */
@keyframes gentlePop {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Effet de focus pour l'accessibilité */
.heart-like:focus {
    outline: none;
    box-shadow: 
        0 0 0 3px rgba(59, 130, 246, 0.5),
        0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Animation de transition entre les états */
.heart-like {
    transition-property: all;
    transition-duration: 0.4s;
    transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
}

/* Effet de ripple au clic */
.heart-like::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 1%, transparent 1%);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    opacity: 0;
}

.heart-like:active::after {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

/* Version alternative - Plus minimaliste */
@media (max-width: 768px) {
    .heart-like {
        width: 44px;
        height: 44px;
    }
    
    .heart-unliked .fa-heart,
    .heart-liked .fa-heart {
        font-size: 1.1rem;
    }
}

/* Pour un effet de profondeur supplémentaire */
.heart-liked::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 5%;
    right: 5%;
    bottom: 5%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 255, 255, 0.25) 0%, 
        rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}