﻿/* ========================================
   MENTIONS LÉGALES POPOVER - CARPRO
   Style simple pour MudPopover
   ======================================== */

/* Popover container */
.mentions-popover {
    background: white;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border: 2px solid #27AE60;
    padding: 0 !important;
    max-width: 500px;
    animation: slideDown 0.3s ease-out;
}

/* Header */
.mentions-header {
    background: linear-gradient(135deg, #27AE60 0%, #219d53 100%);
    padding: 20px 24px;
    border-radius: 14px 14px 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mentions-header-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mentions-header-title {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Contenu */
.mentions-body {
    padding: 24px;
    line-height: 1.8;
}

    .mentions-body strong {
        color: #27AE60;
        display: block;
        margin-bottom: 12px;
        font-size: 15px;
    }

.mentions-info-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

    .mentions-info-line .info-icon {
        color: #27AE60;
        font-size: 16px;
        margin-top: 2px;
    }

/* Footer avec bouton */
.mentions-footer {
    padding: 16px 24px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
}

.btn-close-mentions {
    background: linear-gradient(135deg, #D9534F 0%, #C9302C 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(217, 83, 79, 0.3);
}

    .btn-close-mentions:hover {
        background: linear-gradient(135deg, #C9302C 0%, #AC2925 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(217, 83, 79, 0.4);
    }

/* Animation d'apparition */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .mentions-popover {
        max-width: 95vw;
        margin: 10px;
    }

    .mentions-header {
        padding: 16px 20px;
    }

    .mentions-header-title {
        font-size: 16px;
    }

    .mentions-body {
        padding: 20px;
    }

    .mentions-footer {
        padding: 12px 20px;
    }

    .btn-close-mentions {
        width: 100%;
    }
}
