/* Styles de base */
.rencontre-alert {
    padding: 15px;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin-bottom: 20px;
}

.rencontre-profile,
.rencontre-edit-profile,
.rencontre-search,
.rencontre-matches,
.rencontre-messages,
.rencontre-chat {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Profil */
.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 30px;
    background: #f1f1f1;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #666;
}

.profile-meta {
    margin-top: 10px;
}

.profile-meta span {
    margin-right: 15px;
    color: #666;
}

.profile-content > div {
    margin-bottom: 20px;
}

/* Formulaire d'édition */
.rencontre-edit-profile .form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    max-width: 500px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group textarea {
    min-height: 100px;
}

.profile-picture-upload {
    margin-bottom: 20px;
}

#profile-picture-preview {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 10px;
    background: #f1f1f1;
}

#profile-picture-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #666;
}

#upload-photo-btn {
    display: block;
    margin-top: 10px;
}

#upload-progress {
    margin-top: 5px;
    color: #666;
    font-size: 0.9em;
}

/* Recherche */
.search-filters {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.filter-group {
    margin-bottom: 15px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.filter-group select,
.filter-group input[type="text"],
.filter-group input[type="number"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.filter-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.button-primary {
    background: #0073aa;
    color: white;
    border: none;
}

.button-primary:hover {
    background: #006799;
}

/* Recherche - Filtre d'âge */
#custom-age-range {
    background: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
}

#custom-age-range input {
    width: 60px !important;
    padding: 5px !important;
}

/* Résultats */
.search-results {
    margin-top: 30px;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.profile-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}

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

.profile-image {
    height: 200px;
    background: #f1f1f1;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    padding: 15px;
}

.profile-info h4 {
    margin: 0 0 5px;
}

.profile-info p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}

.search-criteria {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.search-criteria h3 {
    margin-bottom: 10px;
}

.search-criteria p {
    font-size: 1.1em;
    line-height: 1.5;
}

.profile-actions {
    padding: 0 15px 15px;
}

.no-results {
    text-align: center;
    padding: 30px;
    color: #666;
}

/* Masquer les libellés sur les écrans plus petits que 768px (taille courante pour les mobiles) */
@media (max-width: 767px) {
    .search-filters .filter-group label {
        display: none; /* Cache les libellés */
    }
    /* Optionnel: Ajouter un peu d'espace entre les champs si nécessaire */
    .search-filters .filter-group {
        margin-bottom: 10px;
    }
}


/* Matchs */
.matches-tabs {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 25px;
    gap: 5px;
}

.tab-button {
    padding: 12px 24px;
    background: #f5f5f5;
    border: none;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: all 0.3s ease;
    position: relative;
    bottom: -1px;
    margin-right: 2px;
    font-size: 15px;
}

.tab-button:hover {
    background: #ebebeb;
    color: #333;
}

.tab-button.active {
    background: white;
    color: #0073aa;
    border: 1px solid #e0e0e0;
    border-bottom: 1px solid white;
    border-bottom-width: 2px;
    box-shadow: 0 2px 3px rgba(0,0,0,0.05);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: #0073aa;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

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

@keyframes fadeIn {
    from { opacity: 0.5; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.matches-grid,
.likes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Matchs et Likes */
.match-card,
.like-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}

.match-card:hover,
.like-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.match-image,
.like-image {
    height: 200px;
    background: #f1f1f1;
}

.match-image img,
.like-image img,
.match-image .no-image,
.like-image .no-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.match-info,
.like-info {
    padding: 15px;
    flex-grow: 1;
}

.match-info h4,
.like-info h4 {
    margin: 0 0 5px;
}

.match-meta,
.like-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
    font-size: 0.9em;
    color: #666;
}

.match-date,
.like-date {
    margin: 5px 0 0;
    font-size: 0.8em;
    color: #999;
}

.match-actions,
.like-actions {
    display: flex;
    gap: 10px;
    padding: 0 15px 15px;
}

.match-actions .button,
.like-actions .button {
    flex: 1;
    text-align: center;
}

.no-matches,
.no-likes {
    text-align: center;
    padding: 30px;
    color: #666;
}

/* Messages */
.messages-container {
    display: flex;
    gap: 20px;
}

.conversations-list {
    flex: 0 0 300px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.conversation {
    display: flex;
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
}

.conversation:hover {
    background: #f9f9f9;
}

.conversation.unread {
    background: #f0f8ff;
}

.conversation-image {
    flex: 0 0 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    background: #f1f1f1;
}

.conversation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.conversation-info {
    flex: 1;
    min-width: 0;
}

.conversation-info h4 {
    margin: 0 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversation-info p {
    margin: 0;
    font-size: 0.9em;
    color: #666;
}

.last-message {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.message-time {
    font-size: 0.8em;
    color: #999;
}

.unread-count {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #0073aa;
    color: white;
    border-radius: 50%;
    font-size: 0.8em;
    font-weight: bold;
}

.no-conversations {
    text-align: center;
    padding: 30px;
    color: #666;
}

/* Chat */
.rencontre-chat {
    display: flex;
    flex-direction: column;
    height: 70vh;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.chat-header {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    background: #f9f9f9;
}

.chat-partner {
    display: flex;
    align-items: center;
}

.partner-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    background: #f1f1f1;
}

.partner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-partner h3 {
    margin: 0;
    flex: 1;
}

.chat-actions {
    display: flex;
    gap: 10px;
}

.chat-actions .button {
    padding: 5px 10px;
    font-size: 0.9em;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #fff;
}

.message {
    display: flex;
    margin-bottom: 15px;
}

.message.sent {
    justify-content: flex-end;
}

.message.received {
    justify-content: flex-start;
}

.message-content {
    max-width: 70%;
    padding: 10px 15px;
    border-radius: 18px;
    position: relative;
}

.message.sent .message-content {
    background: #0073aa;
    color: white;
    border-top-right-radius: 0;
}

.message.received .message-content {
    background: #f1f1f1;
    color: #333;
    border-top-left-radius: 0;
}

.message-time {
    display: block;
    font-size: 0.8em;
    margin-top: 5px;
    opacity: 0.8;
}

.message.sent .message-time {
    text-align: right;
    color: rgba(255,255,255,0.7);
}

.message.received .message-time {
    text-align: left;
    color: #666;
}

.no-messages {
    text-align: center;
    padding: 30px;
    color: #666;
}

.chat-input {
    padding: 15px;
    border-top: 1px solid #ddd;
    background: #f9f9f9;
}

#chat-form {
    display: flex;
    gap: 10px;
}

#chat-form textarea {
    flex: 1;
    min-height: 50px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: none;
}

/* Améliorations pour le chat */
.chat-messages {
    overflow-anchor: none; /* Empêche le défilement automatique d'être annulé */
}

.message:last-child {
    overflow-anchor: auto; /* Permet le défilement automatique pour le dernier message */
    margin-bottom: 0;
}

/* Animation pour les nouveaux messages */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.message {
    animation: fadeIn 0.3s ease-out;
}

/* Boutons */
.button {
    display: inline-block;
    padding: 8px 15px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.button:hover {
    background: #006799;
}

.button-primary {
    background: #0073aa;
}

.button-primary:hover {
    background: #006799;
}

/* Profil public */
.rencontre-public-profile {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Annuaire des membres */
.rencontre-members-directory {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.directory-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.directory-filters input,
.directory-filters select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 200px;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.member-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}

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

.member-image {
    height: 200px;
    background: #f1f1f1;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 15px;
}

.member-info h4 {
    margin: 0 0 5px;
}

.member-info p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}

.member-actions {
    padding: 0 15px 15px;
}

.member-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    font-size: 0.9em;
    color: #666;
}

.meta-item {
    display: inline-block;
}

/* Utilisateurs bloqués */
.rencontre-blocked-users {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.blocked-users-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.blocked-user-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.user-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    background: #f1f1f1;
}

.user-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    margin-bottom: 15px;
}

.user-info h4 {
    margin: 0 0 5px;
}

.no-blocked-users {
    text-align: center;
    padding: 30px;
    color: #666;
}

/* Page d'inscription */
.rencontre-register {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.rencontre-register .form-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.rencontre-register .form-group {
    margin-bottom: 15px;
}

.rencontre-register label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.rencontre-register input,
.rencontre-register select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.rencontre-register .form-actions {
    margin-top: 30px;
    text-align: center;
}

.rencontre-register .button-primary {
    padding: 12px 24px;
    font-size: 1.1em;
}

.recent-members {
    margin-top: 50px;
}

.recent-members h3 {
    text-align: center;
    margin-bottom: 20px;
}

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

.recent-members .member-card {
    text-align: center;
}

.recent-members .member-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 10px;
}

.recent-members .member-image img,
.recent-members .member-image .no-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-members .member-info h4 {
    margin: 0;
    font-size: 1em;
}

.recent-members .member-info p {
    margin: 5px 0 0;
    font-size: 0.8em;
    color: #666;
}

/* Landing Page - Connecté */
.welcome-message {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.welcome-text {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.welcome-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.welcome-actions .button {
    display: flex;
    align-items: center;
    gap: 5px;
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stat-value {
    font-size: 2.5em;
    font-weight: bold;
    color: #e91e63;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9em;
    color: #666;
}

.recent-members-section {
    margin-top: 50px;
}

.section-description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px;
    color: #666;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.member-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.member-card:hover {
    transform: translateY(-5px);
}

.member-image {
    height: 180px;
    background: #f5f5f5;
}

.member-image img,
.member-image .no-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 15px;
    text-align: center;
}

.member-info h4 {
    margin: 0 0 5px;
}

.member-meta {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

.view-profile {
    display: inline-block;
    color: #e91e63;
    text-decoration: none;
    font-size: 0.9em;
}

.cta-section {
    text-align: center;
    margin: 40px 0;
}

.cta-section p {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.button-large {
    padding: 12px 30px;
    font-size: 1.1em;
}

.logout-section {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #666;
}

/*statut d'activité*/
.activity-status {
    font-size: 0.9em;
    padding: 2px 5px;
    border-radius: 3px;
}
.activity-status.online {
    color: #28a745;
    background-color: rgba(40, 167, 69, 0.1);
}
.activity-status.recent {
    color: #ffc107;
    background-color: rgba(255, 193, 7, 0.1);
}
.activity-status.offline {
    color: #6c757d;
    background-color: rgba(108, 117, 125, 0.1);
}
.activity-status.never {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
}

.chat-status {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}

.chat-status .online {
    color: #4CAF50;
}

/* Chat - Actualisation automatique */
.message.new {
    animation: messageAppear 0.3s ease-out;
}

@keyframes messageAppear {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Chat - Style pour le statut en ligne */
.online {
    color: #4CAF50;
    font-weight: bold;
}

.offline {
    color: #666;
}

/* Chat - Amélioration du défilement */
.chat-messages {
    scroll-behavior: smooth;
    overflow-anchor: none; /* Important pour le défilement automatique */
}

/*erreur*/
.rencontre-page-error {
    padding: 15px;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin: 20px 0;
    text-align: center;
} 

/*Notice pour utilisateur bloqué*/
.rencontre-report-notice {
    margin-bottom: 20px;
    border-left: 4px solid #ffb900;
    background-color: #fff8e5;
    padding: 15px;
}

.report-alert p {
    margin: 5px 0;
}

.report-reason {
    font-style: italic; 
    color: #666;
}

/* conteneurs défilant */
.scrollable-list-container {
    max-height: 600px; /* Ajustez cette valeur selon vos préférences */
    max-width: 100%;  /* Défilement horizontal si nécessaire */
    overflow-y: auto;
    border: 1px solid var(--light-border-color); 
    padding: 10px;
} 
 
/*
==============================================
AMÉLIORATIONS RESPONSIVES - PROFIL PUBLIC
==============================================
*/

/* Rendre le conteneur du header flexible et centré sur mobile */
.profile-header {
    display: flex;
    flex-direction: column; /* Aligne les éléments verticalement sur mobile */
    align-items: center; /* Centre les éléments */
    text-align: center; /* Centre le texte */
    margin-bottom: 30px;
}

/* Assurer que l'image de profil ne soit pas déformée */
.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 0; /* Supprime la marge de droite sur mobile */
    margin-bottom: 20px; /* Ajoute un espace en dessous de l'image */
    background: #f1f1f1;
    flex-shrink: 0; /* Empêche l'image de se réduire */
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ESSENTIEL: Empêche la déformation de l'image */
}

/* Conteneur pour les informations (nom, âge, etc.) pour un meilleur contrôle */
.profile-details {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Ajustement des actions de profil pour un meilleur affichage */
.profile-actions {
    display: flex;
    flex-wrap: wrap; /* Permet aux boutons de passer à la ligne */
    gap: 10px;
    justify-content: center; /* Centre les boutons */
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.profile-actions .button {
    flex-grow: 1; /* Permet aux boutons de grandir */
    flex-basis: 200px; /* Base de largeur pour chaque bouton */
    text-align: center;
}

/* Media Query pour écrans plus larges (tablettes et PC) */
@media (min-width: 768px) {
    .profile-header {
        flex-direction: row; /* Repasse en affichage horizontal */
        text-align: left; /* Réaligne le texte à gauche */
    }

    .profile-picture {
        margin-right: 30px; /* Rétablit la marge de droite */
        margin-bottom: 0; /* Supprime la marge du bas */
    }

    .profile-details {
        align-items: flex-start; /* Aligne les détails à gauche */
    }
}


/*
==============================================
AMÉLIORATIONS - LANDING PAGE (REGISTER)
==============================================
*/

/* Rendre le conteneur des actions flexible */
.welcome-actions {
    display: flex;
    flex-wrap: wrap; /* Permet aux boutons de passer à la ligne sur mobile */
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

/* Amélioration de la grille des membres récents pour plus de cohérence */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); /* Taille minimale un peu plus grande */
    gap: 20px;
    margin-bottom: 40px;
}

/* Assurer que l'image du membre n'est pas déformée */
.member-image img,
.member-image .no-image img { /* Cible aussi l'avatar par défaut */
    width: 100%;
    height: 100%;
    object-fit: cover; /* Empêche la déformation */
}

/* Meilleur espacement pour les champs de formulaire */
.rencontre-register .form-group {
    margin-bottom: 20px;
}

/* Amélioration visuelle des statistiques */
.community-stats {
    gap: 20px;
}
.stat-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
