/* Styles de base pour la page de profil */
.escort-profile {
    padding: 40px 0;
    background-color: #fff;
}

.escort-profile .container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Styles pour la galerie principale */
.profile-gallery {
    flex: 0 0 100%;
    max-width: 500px;
    min-width: 300px;
}

.main-photo {
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* Ratio carré */
    position: relative;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.profile-main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

/* Styles pour la section galerie séparée */
.escort-gallery {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.escort-gallery .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.escort-gallery h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

/* Styles pour les miniatures */
.photo-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.thumbnail {
    width: 180px;
    height: 180px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    position: relative;
}

.thumbnail:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.thumbnail.active {
    border: 3px solid var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.profile-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Styles pour les informations du profil */
.profile-info {
    flex: 1;
    min-width: 300px;
}

.profile-header {
    margin-bottom: 20px;
}

.name-price-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.header-price {
    font-weight: bold;
    font-size: 1.6em;
    color: #ff3366;
    background-color: #f8f9fa;
    padding: 5px 15px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.profile-header h1 {
    font-size: 2.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
    margin-right: 15px;
}

.btn-favorite {
    background-color: #fff;
    color: #ff3366;
    border: 1px solid #ff3366;
    border-radius: 20px;
    padding: 6px 15px;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 180px;
    justify-content: center;
}

.btn-favorite i {
    margin-right: 5px;
    font-size: 1.1rem;
}

.btn-favorite:hover, .btn-favorite.active {
    background-color: #ff3366;
    color: #fff;
}

.btn-favorite.active i {
    font-weight: 900;
}

.profile-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.profile-badge.premium {
    background-color: #ffd700;
    color: #333;
}

.profile-badge.verified {
    background-color: #4CAF50;
    color: white;
}

.profile-badge i {
    margin-right: 5px;
}

.profile-age {
    font-size: 1.2rem;
    color: #666;
    margin-left: 10px;
}

.profile-location {
    display: flex;
    align-items: center;
    color: #666;
    margin-top: 5px;
}

.profile-location i {
    margin-right: 5px;
    color: var(--primary-color);
}

.profile-attributes {
    margin-bottom: 25px;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
}

.attributes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.attribute {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.attribute i {
    margin-right: 8px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.profile-description, .profile-services, .profile-prices {
    margin-bottom: 25px;
}

.profile-description h2, .profile-services h2, .profile-prices h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.profile-description p {
    line-height: 1.6;
    color: #444;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    text-align: center;
}

.service-item {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    padding: 8px 15px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.service-item i {
    margin-right: 8px;
    color: var(--primary-color);
}

.service-name {
    margin-right: 10px;
}

.profile-prices {
    margin-bottom: 25px;
    padding: 0;
    background-color: transparent;
}

.prices-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
    font-weight: 600;
    border-bottom: 2px solid #ff3366;
    padding-bottom: 10px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    margin-bottom: 10px;
    background-color: transparent;
    box-shadow: none;
    transition: transform 0.2s ease;
    border-bottom: 1px solid #eee;
}

.price-item:hover {
    transform: translateY(0);
    box-shadow: none;
}

.price-label {
    font-weight: 500;
    font-size: 1.1em;
    color: #444;
}

.price-value {
    font-weight: bold;
    font-size: 1.4em;
    color: #ff3366;
}

.service-price {
    font-weight: bold;
    color: #ff3366;
    margin-left: 10px;
}

.profile-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-whatsapp i {
    margin-right: 8px;
}

.btn-message {
    background-color: #ff3366;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    border: none;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex: 1;
    cursor: pointer;
}

.btn-message:hover {
    background-color: #e61e50;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-message i {
    margin-right: 8px;
}

.btn-phone {
    background-color: #f8f9fa;
    color: #333;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    flex: 1;
}

.escort-not-found {
    padding: 80px 0;
    text-align: center;
}

.not-found-message {
    max-width: 600px;
    margin: 0 auto;
}

.not-found-message h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.not-found-message p {
    margin-bottom: 30px;
    color: #666;
}

/* Styles responsives */
@media (max-width: 992px) {
    .escort-profile .container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .profile-gallery {
        max-width: 100%;
        width: 100%;
    }
    
    .profile-info {
        width: 100%;
    }
    
    .main-photo {
        max-height: 500px;
        padding-bottom: 75%; /* Ratio 4:3 pour les tablettes */
    }
}

@media (max-width: 768px) {
    .escort-profile {
        padding: 20px 0;
    }
    
    .escort-profile .container {
        padding: 0 10px;
        gap: 15px;
    }
    
    .name-price-container {
        flex-direction: row;
        align-items: center;
    }
    
    .header-price {
        font-size: 1.3em;
        padding: 4px 12px;
    }
    
    .thumbnail {
        width: calc(33.33% - 10px);
        height: auto;
        aspect-ratio: 1/1;
    }
    
    .attributes-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .profile-badges {
        flex-wrap: wrap;
    }
    
    .service-item {
        width: auto;
        justify-content: space-between;
    }
    
    .profile-contact {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-whatsapp, .btn-phone {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .photo-city-badge {
        bottom: 8px;
        right: 8px;
    }
    
    .photo-premium-badge {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
        font-size: 0.85rem;
    }
    
    .photo-verified-badge {
        top: 50px;
        right: 10px;
    }
    
    .gallery-modal-top-container {
        top: 70px;
        padding: 0 50px;
    }
    
    .gallery-modal-thumbnails {
        padding: 8px;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .escort-profile {
        padding: 15px 0;
    }
    
    .main-photo {
        padding-bottom: 100%; /* Retour au ratio carré pour mobile */
        margin-bottom: 10px;
        border-radius: 8px;
    }
    
    .name-price-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header-price {
        margin-top: 5px;
        font-size: 1.2em;
    }
    
    .thumbnail {
        width: calc(50% - 8px);
    }
    
    .profile-header h1 {
        font-size: 1.6rem;
    }
    
    .profile-age {
        font-size: 1rem;
        display: block;
        margin-left: 0;
        margin-top: 5px;
    }
    
    .profile-location {
        font-size: 0.9rem;
    }
    
    .profile-attributes {
        padding: 10px;
        margin-bottom: 15px;
    }
    
    .attribute {
        font-size: 0.85rem;
    }
    
    .profile-description p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .profile-description h2, .profile-services h2, .profile-prices h2 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .service-item {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .price-item {
        padding: 8px 0;
    }
    
    .price-label, .price-value {
        font-size: 0.95rem;
    }
    
    .photo-city-badge {
        bottom: 5px;
        right: 5px;
    }
    
    .photo-premium-badge {
        top: 8px;
        right: 8px;
        padding: 5px 8px;
        font-size: 0.8rem;
    }
    
    .photo-verified-badge {
        top: 45px;
        right: 8px;
    }
    
    .gallery-modal-top-container {
        top: 60px;
        padding: 0 40px;
    }
    
    .gallery-modal-thumbnails {
        padding: 5px;
        max-width: 95%;
    }
}

@media (max-width: 360px) {
    .profile-header h1 {
        font-size: 1.4rem;
    }
    
    .attributes-grid {
        grid-template-columns: 1fr;
    }
    
    .thumbnail {
        width: 100%;
        margin-bottom: 8px;
    }
}

/* Container for grouped badges */
.photo-badges-container {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 3;
}

/* Base badge styles */
.photo-badge {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    z-index: 2;
}

.photo-badge i {
    margin-right: 5px;
}

/* City badge positioned separately at bottom-right */
.photo-city-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(255,255,255,0.9);
    color: var(--primary-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* Include standard badge styles since it's outside the badges container */
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    z-index: 2;
}

.photo-city-badge:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.photo-city-badge i {
    color: var(--primary-color);
}

.photo-premium-badge {
    background-color: #ffd700;
    color: #111;
    letter-spacing: 0.5px;
}

.photo-premium-badge i {
    color: #111;
}

.photo-verified-badge {
    background-color: #4CAF50;
    color: white;
    letter-spacing: 0.5px;
}

.photo-verified-badge i {
    color: white;
}

.photo-not-verified-badge {
    background-color: #F44336;
    color: white;
    letter-spacing: 0.5px;
}

.photo-not-verified-badge i {
    color: white;
}

/* Responsive styles for badges */
@media (max-width: 768px) {
    .photo-badges-container {
        top: 8px;
        right: 8px;
        gap: 6px;
    }
    
    .photo-badge {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    
    .photo-city-badge {
        bottom: 8px;
        right: 8px;
        padding: 5px 10px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .photo-badges-container {
        top: 5px;
        right: 5px;
        gap: 5px;
    }
    
    .photo-badge {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
    
    .photo-city-badge {
        bottom: 5px;
        right: 5px;
        padding: 4px 8px;
        font-size: 0.75rem;
    }
}

/* Styles pour le modal de galerie photo */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.98);
    z-index: 1000;
    overflow: hidden;
}

.gallery-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-modal-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    cursor: grab;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Animations de slide */
.slide-from-left {
    animation: slideFromLeft 0.4s forwards;
}

.slide-to-right {
    animation: slideToRight 0.4s forwards;
}

.slide-from-right {
    animation: slideFromRight 0.4s forwards;
}

.slide-to-left {
    animation: slideToLeft 0.4s forwards;
}

@keyframes slideFromLeft {
    0% {
        transform: translate(-150%, -50%);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

@keyframes slideToRight {
    0% {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
    100% {
        transform: translate(150%, -50%);
        opacity: 0;
    }
}

@keyframes slideFromRight {
    0% {
        transform: translate(150%, -50%);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

@keyframes slideToLeft {
    0% {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
    100% {
        transform: translate(-150%, -50%);
        opacity: 0;
    }
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1010;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.gallery-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.gallery-modal-prev,
.gallery-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1010;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.gallery-modal-prev {
    left: 20px;
}

.gallery-modal-next {
    right: 20px;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Add new container style for top elements */
.gallery-modal-top-container {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 1010;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0 60px; /* Space for prev/next buttons */
}

/* Update counter style */
.gallery-modal-counter {
    color: white;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 20px;
    position: relative;
    margin-top: 5px;
}

/* Update thumbnails style */
.gallery-modal-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    width: 100%;
    max-width: 80%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.gallery-modal-thumbnails::-webkit-scrollbar {
    height: 5px;
}

.gallery-modal-thumbnails::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-modal-thumbnails::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

.gallery-modal-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
    object-fit: cover;
}

.gallery-modal-thumbnail.active {
    opacity: 1;
    transform: scale(1.1);
    border: 2px solid white;
}

.gallery-modal-thumbnail:hover {
    opacity: 1;
}

/* Styles pour les appareils mobiles */
@media (max-width: 768px) {
    .gallery-modal-image {
        max-width: 95%;
        max-height: 70vh;
    }
    
    .gallery-modal-prev,
    .gallery-modal-next {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .gallery-modal-close {
        top: 15px;
        right: 15px;
        font-size: 24px;
    }
    
    .gallery-modal-top-container {
        top: 70px;
        padding: 0 50px;
    }
    
    .gallery-modal-thumbnails {
        padding: 8px;
        max-width: 90%;
    }
    
    .gallery-modal-thumbnail {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .gallery-modal-prev,
    .gallery-modal-next {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .gallery-modal-thumbnail {
        width: 40px;
        height: 40px;
    }
    
    .gallery-modal-top-container {
        top: 60px;
        padding: 0 40px;
    }
    
    .gallery-modal-thumbnails {
        padding: 5px;
        max-width: 95%;
    }
}

.gallery-slide-container {
    position: relative;
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Styles pour les boutons de la galerie photo */
.gallery-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-like, .btn-dislike {
    padding: 10px 25px;
    border-radius: 30px;
    border: 1px solid #ddd;
    background-color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-like {
    color: #4CAF50;
}

/* Séparer les styles de hover et active */
.btn-like:hover:not(.active) {
    background-color: rgba(76, 175, 80, 0.3); /* Fond vert semi-transparent au survol */
    border-color: #4CAF50;
}

.btn-like.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.btn-dislike {
    color: #ff3366;
}

/* Séparer les styles de hover et active */
.btn-dislike:hover:not(.active) {
    background-color: rgba(255, 51, 102, 0.3); /* Fond rouge semi-transparent au survol */
    border-color: #ff3366;
}

.btn-dislike.active {
    background-color: #ff3366;
    color: white;
    border-color: #ff3366;
}

.btn-like i, .btn-dislike i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.btn-like.active i, .btn-dislike.active i {
    font-weight: 900;
}

/* Styles responsifs pour les boutons de la galerie */
@media (max-width: 768px) {
    .gallery-actions {
        gap: 15px;
        margin-top: 20px;
    }
    
    .btn-like, .btn-dislike {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gallery-actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .btn-like, .btn-dislike {
        width: 80%;
        padding: 10px 0;
    }
}

/* Styles pour les boutons de la galerie dans le modal */
.gallery-modal-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    z-index: 1010;
}

.gallery-modal-actions .btn-like,
.gallery-modal-actions .btn-dislike {
    padding: 10px 25px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(0, 0, 0, 0.7);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gallery-modal-actions .btn-like {
    color: #4CAF50;
}

/* Séparer les styles hover et active pour les boutons dans le modal */
.gallery-modal-actions .btn-like:hover:not(.active) {
    background-color: rgba(76, 175, 80, 0.3); /* Fond vert semi-transparent au survol */
    border-color: #4CAF50;
}

.gallery-modal-actions .btn-like.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.gallery-modal-actions .btn-dislike {
    color: #ff3366;
}

/* Séparer les styles hover et active pour les boutons dans le modal */
.gallery-modal-actions .btn-dislike:hover:not(.active) {
    background-color: rgba(255, 51, 102, 0.3); /* Fond rouge semi-transparent au survol */
    border-color: #ff3366;
}

.gallery-modal-actions .btn-dislike.active {
    background-color: #ff3366;
    color: white;
    border-color: #ff3366;
}

/* Styles responsifs pour les boutons dans le modal */
@media (max-width: 768px) {
    .gallery-modal-actions {
        bottom: 70px;
        gap: 15px;
    }
    
    .gallery-modal-actions .btn-like,
    .gallery-modal-actions .btn-dislike {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gallery-modal-actions {
        bottom: 65px;
        flex-direction: row;
        gap: 10px;
    }
    
    .gallery-modal-actions .btn-like,
    .gallery-modal-actions .btn-dislike {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .gallery-modal-actions .btn-like i,
    .gallery-modal-actions .btn-dislike i {
        margin-right: 6px;
        font-size: 1rem;
    }
}

/* Animation pour le modal */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.gallery-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

