/**
 * Breizh-Info Signalement Contenus Illicites
 * Styles CSS
 */

/* =================================
   BOUTON DE SIGNALEMENT
   ================================= */

.breizh-signalement-wrapper {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #eee;
}

.breizh-btn-signaler {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-size: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #666;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.breizh-btn-signaler:hover {
    color: #c0392b;
    border-color: #c0392b;
    background: #fdf2f2;
}

.breizh-btn-signaler svg {
    flex-shrink: 0;
}

/* =================================
   MODAL DE SIGNALEMENT
   ================================= */

.breizh-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.breizh-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.breizh-modal-content {
    position: relative;
    width: 100%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding: 30px;
    box-sizing: border-box;
}

.breizh-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 24px;
    line-height: 30px;
    text-align: center;
    color: #999;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.breizh-modal-close:hover {
    color: #333;
    background: #f5f5f5;
}

.breizh-modal-content h3 {
    margin: 0 0 15px 0;
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.breizh-modal-intro {
    margin-bottom: 20px;
    padding: 12px 15px;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    background: #f8f9fa;
    border-left: 3px solid #3498db;
    border-radius: 0 4px 4px 0;
}

/* =================================
   FORMULAIRE
   ================================= */

.breizh-form-group {
    margin-bottom: 18px;
}

.breizh-form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.breizh-form-group label .required {
    color: #e74c3c;
}

.breizh-form-group select,
.breizh-form-group input[type="email"],
.breizh-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.breizh-form-group select:focus,
.breizh-form-group input[type="email"]:focus,
.breizh-form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

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

.breizh-checkbox-group {
    padding: 12px 15px;
    background: #fffbf0;
    border: 1px solid #f0e6d2;
    border-radius: 4px;
}

.breizh-checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    cursor: pointer;
}

.breizh-checkbox-group input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 3px;
    width: 16px;
    height: 16px;
}

/* =================================
   BOUTONS D'ACTION
   ================================= */

.breizh-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.breizh-btn-annuler,
.breizh-btn-envoyer,
.breizh-btn-fermer {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.breizh-btn-annuler {
    color: #666;
    background: #f5f5f5;
    border: 1px solid #ddd;
}

.breizh-btn-annuler:hover {
    background: #eee;
    border-color: #ccc;
}

.breizh-btn-envoyer {
    color: #fff;
    background: #c0392b;
    border: 1px solid #a93226;
}

.breizh-btn-envoyer:hover {
    background: #a93226;
}

.breizh-btn-envoyer:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.breizh-btn-fermer {
    color: #fff;
    background: #27ae60;
    border: 1px solid #229954;
}

.breizh-btn-fermer:hover {
    background: #229954;
}

/* =================================
   CONFIRMATION
   ================================= */

#breizh-signalement-confirmation {
    text-align: center;
    padding: 20px 0;
}

.breizh-confirmation-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    font-size: 32px;
    color: #fff;
    background: #27ae60;
    border-radius: 50%;
}

#breizh-signalement-confirmation h4 {
    margin: 0 0 15px 0;
    font-size: 20px;
    color: #333;
}

#breizh-signalement-confirmation p {
    margin: 0 0 20px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* =================================
   MENTIONS LÉGALES
   ================================= */

.breizh-modal-legal {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    text-align: center;
}

.breizh-modal-legal small {
    font-size: 11px;
    line-height: 1.5;
    color: #999;
}

/* =================================
   RESPONSIVE
   ================================= */

@media (max-width: 600px) {
    .breizh-modal-content {
        padding: 20px;
    }
    
    .breizh-modal-content h3 {
        font-size: 18px;
        padding-right: 30px;
    }
    
    .breizh-form-actions {
        flex-direction: column;
    }
    
    .breizh-btn-annuler,
    .breizh-btn-envoyer {
        width: 100%;
        text-align: center;
    }
}

/* =================================
   ANIMATION
   ================================= */

@keyframes breizh-fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.breizh-modal-content {
    animation: breizh-fadeIn 0.3s ease;
}
