/* ===== Botón de reporte =====
   Usamos !important y reset de apariencia para que el TEMA no pinte
   el fondo (rojo u otro) por defecto sobre este botón. */
button.re-wc-report-btn,
.re-wc-report-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    margin: 16px 0 0 !important;
    padding: 10px 16px !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    background: #fff3cd !important;   /* fondo del botón (cámbialo aquí) */
    color: #664d03 !important;        /* color del texto */
    border: 1px solid #ffe69c !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transition: background .15s ease, transform .05s ease;
}
button.re-wc-report-btn:hover,
.re-wc-report-btn:hover {
    background: #ffe69c !important;   /* fondo al pasar el cursor */
    color: #664d03 !important;
}
button.re-wc-report-btn:active,
.re-wc-report-btn:active {
    transform: translateY(1px);
}

/* ===== Overlay (fondo) ===== */
.re-wc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 16px;
    box-sizing: border-box;
}
.re-wc-overlay.is-open {
    display: flex;
    animation: re-wc-fade .15s ease;
}
@keyframes re-wc-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ===== Caja del modal ===== */
.re-wc-box {
    position: relative;
    background: #ffffff;
    width: min(460px, 94vw);
    max-height: 90vh;
    overflow: auto;
    border-radius: 14px;
    padding: 26px 24px 22px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    box-sizing: border-box;
    color: #1f2328;
}
.re-wc-box-title {
    margin: 0 0 6px;
    font-size: 19px;
    line-height: 1.3;
    color: #1f2328;
}
.re-wc-box-sub {
    margin: 0 0 14px;
    font-size: 14px;
    color: #555;
}

.re-wc-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    border-radius: 8px;
}
.re-wc-close:hover {
    background: #f1f1f1;
    color: #333;
}

.re-wc-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    font-size: 15px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    resize: vertical;
    min-height: 96px;
    font-family: inherit;
    color: #1f2328;
}
.re-wc-textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

.re-wc-msg {
    min-height: 18px;
    margin: 10px 0 0;
    font-size: 13.5px;
    font-weight: 600;
}
.re-wc-msg.re-wc-success { color: #1a7f37; }
.re-wc-msg.re-wc-error   { color: #b32d2e; }

.re-wc-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}
/* Botones del modal forzados con !important para que el TEMA no los pinte de rojo. */
button.re-wc-cancel,
button.re-wc-send,
.re-wc-cancel,
.re-wc-send {
    padding: 10px 18px !important;
    border-radius: 9px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    text-transform: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
}
/* Cancelar: amarillo claro (versión suave). */
button.re-wc-cancel,
.re-wc-cancel {
    background: #fff3cd !important;
    color: #664d03 !important;
    border: 1px solid #ffe69c !important;
}
button.re-wc-cancel:hover,
.re-wc-cancel:hover {
    background: #ffe69c !important;
    color: #664d03 !important;
}
/* Enviar: amarillo (versión más marcada). */
button.re-wc-send,
.re-wc-send {
    background: #ffd43b !important;
    color: #664d03 !important;
    border: 1px solid #f2c200 !important;
}
button.re-wc-send:hover,
.re-wc-send:hover {
    background: #f2c200 !important;
    color: #664d03 !important;
}
button.re-wc-send:disabled,
.re-wc-send:disabled {
    opacity: .65 !important;
    cursor: not-allowed !important;
}
