/* ==========================================================================
   MU APOCALIPSIS — MEJORAS DE LEGIBILIDAD, CONTRASTE Y CONFIRMACIÓN
   ========================================================================== */

:root {
    --border-gold: #d99757;
    --border-gold-dk: #65442e;
    --border-gold-bright: #ffc981;
    --border-dark: #65442e;
    --text-main: #fbf5ed;
    --text-light: #ece1d5;
    --text-muted: #decaba;
    --text-gold: #ffd599;
    --text-gold-lt: #fff1ce;
}

/* 1. Encabezados de cajas y secciones */
.content-box-title {
    color: #ffe4ba !important;
    font-size: 1.02rem;
    font-weight: 750;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.form-section-title {
    color: #ffd89e !important;
    font-size: 0.96rem;
    font-weight: 750;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(217, 148, 78, 0.45) !important;
    padding-bottom: 8px;
    margin: 26px 0 16px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

/* 2. Etiquetas de formularios (Labels) */
.form-label {
    display: block;
    color: #fff3dd !important;
    font-size: 0.93rem;
    font-weight: 650;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.form-label .required {
    color: #ff6e6e !important;
    font-weight: 800;
    margin-left: 3px;
}

/* 3. Textos de ayuda y pistas (Hints) */
.form-hint {
    display: block;
    font-size: 0.84rem !important;
    color: #decaba !important;
    line-height: 1.5;
    margin-top: 6px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
}

/* 4. Campos de entrada (Inputs) y placeholders */
.form-input, .hdr-input {
    background: #140e0b !important;
    border: 1px solid #7c573c !important;
    color: #ffffff !important;
    font-size: 0.93rem;
    padding: 10px 14px;
    border-radius: 4px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.65), 0 1px 1px rgba(255, 215, 160, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-input:focus, .hdr-input:focus {
    background: #1c130e !important;
    border-color: #f59e0b !important;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.45), inset 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    color: #ffffff !important;
    outline: none;
}

.form-input::placeholder, .hdr-input::placeholder {
    color: #ad9c8c !important;
    opacity: 1 !important;
    font-size: 0.86rem;
}

/* 5. Botón mostrar contraseña */
.password-toggle {
    background: #251710 !important;
    border: 1px solid #8e5e3a !important;
    color: #ffe0ae !important;
    font-size: 0.80rem !important;
    font-weight: 650;
    padding: 6px 12px !important;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.password-toggle:hover, .password-toggle:focus-visible {
    background: #392215 !important;
    border-color: #f59e0b !important;
    color: #ffffff !important;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4) !important;
}

/* 6. Casillas de verificación y enlaces */
.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.89rem !important;
    color: #efe2d5 !important;
    line-height: 1.55;
    margin: 16px 0;
}

.form-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 17px;
    height: 17px;
    accent-color: #d9944e;
    cursor: pointer;
}

.form-checkbox-label a, .form-footer-info a {
    color: #ffba60 !important;
    font-weight: 650;
    text-decoration: underline;
}

.form-checkbox-label a:hover, .form-footer-info a:hover {
    color: #ffe3b0 !important;
}

.form-footer-info {
    font-size: 0.88rem !important;
    color: #decaba !important;
    margin-top: 18px;
}

/* 7. Mensajes de disponibilidad en vivo (Username/Email check) */
.username-check {
    font-size: 0.84rem !important;
    font-weight: 650 !important;
    margin-top: 6px;
}
.username-check--available { color: #53f2a1 !important; }
.username-check--taken, .username-check--error { color: #ff7d7d !important; }
.username-check--checking { color: #ffd89e !important; }

/* 8. Cuadro de reglas del servidor */
.rules-box {
    margin-top: 28px;
    background: rgba(22, 15, 11, 0.92) !important;
    border: 1px solid rgba(217, 148, 78, 0.38) !important;
    padding: 16px 20px;
    border-radius: 6px;
}

.rules-title {
    font-size: 0.92rem !important;
    font-weight: 750 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #ffd89e !important;
    margin-bottom: 12px;
}

.rules-list {
    padding-left: 20px;
    font-size: 0.86rem !important;
    color: #e8dcd0 !important;
    line-height: 1.6;
}

.rules-list li {
    margin-bottom: 8px;
}

/* 9. Barras laterales (Sidebars) - contraste y nitidez */
.side-box-title {
    color: #ffe4ba !important;
    font-weight: 750 !important;
    letter-spacing: 1.1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}

.server-stat-card {
    border-color: rgba(217, 148, 78, 0.35) !important;
    background: linear-gradient(150deg, rgba(42, 28, 20, 0.94), rgba(18, 13, 10, 0.99) 76%) !important;
}

.server-stat-card small {
    color: #e5d4c2 !important;
    font-size: 0.68rem !important;
    font-weight: 750 !important;
    letter-spacing: 1.1px;
}

.server-stat-card strong {
    color: #fff1d4 !important;
    font-size: 1.05rem !important;
    font-weight: 750 !important;
}

.server-stat-card span {
    color: #dfcdba !important;
    font-size: 0.72rem !important;
}

.event-panel-title, .server-panel-title {
    color: #ffe0ae !important;
    font-weight: 750 !important;
}

.event-name {
    color: #ffd89e !important;
    font-weight: 650;
}

.event-time {
    color: #fff3db !important;
    font-weight: 750;
}

.event-state, .event-frequency, .event-zone, .event-count-label, .local-clock-title, .ranking-caption {
    color: #decaba !important;
    font-size: 0.80rem !important;
}

.top-list-item .top-name {
    color: #fff2db !important;
    font-weight: 650;
}

.top-list-item .top-meta {
    color: #dfcfbf !important;
    font-size: 0.70rem;
}

.top-resets {
    color: #ffe0ae !important;
    font-weight: 700;
}

/* 10. Alertas y Banner de Spam */
.alert-warning {
    background: rgba(245, 158, 11, 0.12);
    border-color: #f59e0b;
    color: #ffd880;
}

.alert-mu.alert-warning {
    border-left-color: #f59e0b;
    color: #ffe09e;
}

.alert-mu.alert-warning .alert-mu-icon {
    color: #f59e0b;
}

.confirm-spam-alert {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    margin-bottom: 22px;
    background: linear-gradient(135deg, rgba(62, 36, 14, 0.94), rgba(28, 17, 10, 0.98));
    border: 1px solid #d9822b;
    border-left: 5px solid #ff9922;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 14px rgba(217, 130, 43, 0.22);
}

.confirm-spam-icon {
    font-size: 1.75rem;
    line-height: 1;
    color: #ffb84d;
    flex-shrink: 0;
    padding-top: 2px;
}

.confirm-spam-body {
    display: grid;
    gap: 8px;
    color: #f7ede3;
    font-size: 0.89rem;
    line-height: 1.5;
}

.confirm-spam-title {
    color: #ffd89e;
    font-size: 0.98rem;
    font-weight: 750;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.confirm-spam-tip {
    color: #ffe8ba;
    background: rgba(0, 0, 0, 0.38);
    border-radius: 4px;
    padding: 8px 12px;
    border-left: 3px solid #f59e0b;
    margin-top: 4px;
    font-size: 0.84rem;
}

.confirm-resend-box {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid rgba(203, 147, 85, 0.28);
}
