/* ==========================================================================
   reporter.css — page publique de signalement (feedback spam/menace)
   ========================================================================== */

body {
    background: var(--lightgray, #eee);
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    color: var(--black1);
}

.reporter-page {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 16px 40px;
    box-sizing: border-box;
}

.reporter-card {
    width: 100%;
    max-width: 640px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    border-radius: 6px;
    overflow: visible;
}

/* --- Header bandeau noir --- */
.reporter-header {
    display: flex;
    align-items: center;
    background: var(--black1);
    color: #fff;
    padding: 14px 22px;
    border-radius: 6px 6px 0 0;
    border-bottom: 3px solid var(--orange);
}
.reporter-header-title {
    font-family: Oswald, sans-serif;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.reporter-header-title i {
    color: var(--orange);
    margin-right: 10px;
}

/* --- Sections --- */
.reporter-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    padding: 20px;
}
.reporter-section-title {
    font-family: Oswald, sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--black2);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--orange);
}
.reporter-section-title i {
    color: var(--orange);
    margin-right: 6px;
}

/* --- Info items (mid, sender, subject) --- */
.reporter-info-item {
    display: flex;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    align-items: baseline;
}
.reporter-info-item:last-child {
    border-bottom: none;
}
.reporter-info-label {
    flex: 0 0 130px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--black2);
}
.reporter-info-value {
    flex: 1;
    color: var(--black1);
    word-break: break-word;
    font-weight: 500;
}

/* --- Verdict choices (radio cards) --- */
.reporter-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.reporter-choice {
    flex: 1 1 calc(33.333% - 8px);
    min-width: 110px;
    position: relative;
    cursor: pointer;
    margin: 0;
}
.reporter-choice input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.reporter-choice-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    background: #fff;
    border: 1.5px solid #d0d0d0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--black1);
    text-align: center;
    transition: all 0.15s;
    text-transform: capitalize;
}
.reporter-choice:hover .reporter-choice-label {
    border-color: var(--orange);
    background: rgba(222,134,80,0.06);
}
.reporter-choice input[type="radio"]:checked + .reporter-choice-label {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
    font-weight: 600;
}
.reporter-choice-label i {
    font-size: 13px;
    color: var(--black2);
}
.reporter-choice:hover .reporter-choice-label i,
.reporter-choice input[type="radio"]:checked + .reporter-choice-label i {
    color: inherit;
}
/* Variante menace (rouge accent) */
.reporter-choice-menace .reporter-choice-label {
    color: #c0392b;
    font-weight: 600;
}
.reporter-choice-menace .reporter-choice-label i {
    color: #c0392b;
}
.reporter-choice-menace input[type="radio"]:checked + .reporter-choice-label {
    background: #c0392b;
    border-color: #c0392b;
    color: #fff;
}
.reporter-choice-menace input[type="radio"]:checked + .reporter-choice-label i {
    color: #fff;
}
/* Variante clean (vert accent) */
.reporter-choice-clean .reporter-choice-label {
    color: #27ae60;
    font-weight: 600;
}
.reporter-choice-clean .reporter-choice-label i {
    color: #27ae60;
}
.reporter-choice-clean input[type="radio"]:checked + .reporter-choice-label {
    background: #27ae60;
    border-color: #27ae60;
    color: #fff;
}
.reporter-choice-clean input[type="radio"]:checked + .reporter-choice-label i {
    color: #fff;
}

/* --- Captcha wrap --- */
.reporter-captcha {
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

/* --- Actions bar --- */
.reporter-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 16px 20px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 6px 6px;
}
.reporter-actions button:first-child {
    margin: 0;
}
.reporter-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.reporter-btn-submit:hover {
    background: var(--black1);
    color: var(--orange);
}

/* --- Alerts --- */
.reporter-alerts {
    margin-bottom: 0;
}
.reporter-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    font-size: 14px;
    line-height: 1.5;
}
.reporter-alert + .reporter-alert {
    border-top: 1px solid #f0f0f0;
}
.reporter-alerts .reporter-alert:last-child {
    border-radius: 0 0 6px 6px;
}
.reporter-alert i.reporter-alert-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}
.reporter-alert-content {
    flex: 1;
}
.reporter-alert-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    margin: 0;
    line-height: 1;
    transition: color 0.15s;
}
.reporter-alert-close:hover {
    color: var(--black1);
}
.reporter-alert-error {
    background: rgba(220,53,69,0.06);
    color: #c0392b;
}
.reporter-alert-error i.reporter-alert-icon {
    color: #c0392b;
}
.reporter-alert-success {
    background: rgba(39,174,96,0.07);
    color: #1e8449;
}
.reporter-alert-success i.reporter-alert-icon {
    color: #27ae60;
}
.reporter-alert-warning {
    background: rgba(241,196,15,0.1);
    color: #9a7c12;
}
.reporter-alert-warning i.reporter-alert-icon {
    color: #d4a017;
}

/* --- Footer (logo / branding) --- */
.reporter-footer {
    text-align: center;
    margin-top: 18px;
    color: var(--black2);
    font-size: 12px;
    letter-spacing: 0.3px;
}
.reporter-footer a {
    color: var(--black2);
    text-decoration: none;
}
.reporter-footer a:hover {
    color: var(--orange);
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .reporter-page {
        padding: 24px 12px;
    }
    .reporter-info-item {
        flex-direction: column;
        gap: 2px;
    }
    .reporter-info-label {
        flex: none;
    }
    .reporter-choice {
        flex: 1 1 calc(50% - 8px);
    }
}
