* {
    box-sizing: border-box;
}

body.ast-page-builder-template,
body {
    background-color: var(--bg-dark) !important;
    color: var(--text-white) !important;
    font-family: var(--font-main);
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-accent);
}

.horishion-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.rating-stars {
    color: var(--star-gold);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-new {
    background: var(--badge-new);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

/* ==========================================================
   SISTEMA DE DONACIONES INSPIRADOR Y LLAMATIVO
   ========================================================== */
/* Banner Superior en Portada */
.donation-hero-banner {
    background: linear-gradient(135deg, #1f1435 0%, #171126 50%, #200f1c 100%);
    border: 1px solid #7c3aed44;
    border-radius: 14px;
    padding: 24px 28px;
    margin-bottom: 35px;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.15);
    position: relative;
    overflow: hidden;
}

.donation-hero-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.donation-banner-content {
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
    z-index: 2;
}

@media (max-width: 850px) {
    .donation-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 18px;
    }
}

.donation-icon-glow {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ef4444, #ec4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    flex-shrink: 0;
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.5);
    animation: heartPulse 2s infinite ease-in-out;
}

@keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.donation-text-block {
    flex: 1;
}

.donation-tag {
    display: inline-block;
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 6px;
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.donation-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.donation-desc {
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0;
}

.donation-btn-wrap {
    flex-shrink: 0;
}

.donation-cta-btn {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 13px 26px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.donation-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.5);
}

/* Botón Flotante Permanente */
.donation-floating-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    cursor: pointer;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: rgba(239, 68, 68, 0.4);
    animation: pulseRingAnimation 2s infinite;
    z-index: 1;
}

@keyframes pulseRingAnimation {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}

.floating-btn-inner {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #ef4444, #8b5cf6);
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.45);
    transition: transform 0.2s, box-shadow 0.2s;
}

.floating-btn-inner:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.6);
}

/* Modal Popup de Donaciones */
.donate-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.donate-modal-overlay.active {
    display: flex;
    animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.donate-modal-box {
    background: #141722;
    border: 1px solid #2d3748;
    border-radius: 16px;
    max-width: 540px;
    width: 100%;
    padding: 35px 30px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.donate-modal-close {
    position: absolute;
    top: 15px;
    right: 18px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.donate-modal-close:hover {
    color: #ffffff;
}

.donate-heart-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #ef4444, #f43f5e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.4);
}

.donate-modal-header h2 {
    font-size: 1.55rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.donate-subtitle {
    font-size: 0.9rem;
    color: #a855f7;
    font-weight: 600;
    display: block;
    margin-bottom: 20px;
}

.donate-inspire-quote {
    font-style: italic;
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.6;
    background: #1c2230;
    padding: 16px;
    border-radius: 10px;
    border-left: 3px solid #8b5cf6;
    margin-bottom: 22px;
    text-align: left;
}

.donate-perks-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    margin-bottom: 25px;
}

.perk-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: #e2e8f0;
}

.perk-item i {
    color: #10b981;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.donate-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

@media (max-width: 500px) {
    .donate-options-grid {
        grid-template-columns: 1fr;
    }
}

.donate-card-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    text-decoration: none;
    color: #ffffff;
    text-align: left;
    transition: transform 0.2s, box-shadow 0.2s;
}

.donate-card-btn.kofi {
    background: linear-gradient(135deg, #ff5e5b, #ff8c70);
    box-shadow: 0 5px 15px rgba(255, 94, 91, 0.3);
}

.donate-card-btn.paypal {
    background: linear-gradient(135deg, #0070ba, #003087);
    box-shadow: 0 5px 15px rgba(0, 112, 186, 0.3);
}

.donate-card-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.donate-card-btn i {
    font-size: 1.8rem;
}

.donate-card-btn strong {
    display: block;
    font-size: 0.95rem;
}

.donate-card-btn small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
}

.donate-modal-footer-msg {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-top: 15px;
}

/* ==========================================================
   BANNER PUBLICITARIO ELEGANTE, PROFESIONAL Y SUTIL
   ========================================================== */
.horishion-ad-wrapper {
    margin-bottom: 35px;
    position: relative;
}

.horishion-ad-banner {
    background: linear-gradient(135deg, rgba(24, 25, 32, 0.95) 0%, rgba(35, 20, 32, 0.95) 100%);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 12px;
    padding: 18px 24px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease, transform 0.2s ease;
}

.horishion-ad-banner:hover {
    border-color: rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
}

.ad-disclosure-badge {
    position: absolute;
    top: 8px;
    right: 14px;
    font-size: 0.62rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.4);
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ad-content-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 4px;
}

@media (max-width: 800px) {
    .ad-content-box {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }
}

.ad-visual-indicator {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(168, 85, 247, 0.2));
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f87171;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.ad-text-info {
    flex: 1;
}

.ad-headline {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px 0;
    letter-spacing: 0.3px;
}

.ad-subline {
    font-size: 0.84rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.45;
}

.ad-action-wrap {
    flex-shrink: 0;
}

.ad-action-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 22px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.ad-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
    color: #ffffff;
}

.ad-action-btn i {
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.ad-action-btn:hover i {
    transform: translateX(3px);
}

/* ==========================================================
   ESTILOS BLOQUE "NUEVAS OBRAS" (COMO LA IMAGEN)
   ========================================================== */
.new-work-card {
    background: #141720;
    border: 1px solid #232938;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}

.new-work-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.stars-gold {
    color: #eab308;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.rating-num {
    font-size: 0.82rem;
    font-weight: 700;
    color: #cbd5e1;
}

.new-work-chapter-row {
    background: #1b202c !important;
    border: 1px solid #252b3b;
    border-radius: 4px;
    padding: 6px 10px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.new-work-chapter-row:hover {
    background: #252c3d !important;
}

.new-work-chapter-row a {
    color: #f1f5f9 !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
}

.new-work-date {
    color: #94a3b8 !important;
    font-size: 0.72rem !important;
    font-weight: 500;
}

/* ==========================================================
   ZONA DE USUARIO / ACCESO EN HEADER
   ========================================================== */
.header-user-zone {
    display: flex;
    align-items: center;
    margin-left: 8px;
}

.user-auth-trigger-btn {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.user-auth-trigger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(139, 92, 246, 0.45);
}

.user-logged-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1e2230;
    border: 1px solid #2d354a;
    padding: 4px 12px 4px 5px;
    border-radius: 30px;
}

.user-avatar-circle {
    width: 30px;
    height: 30px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
}

.user-display-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #f8fafc;
}

.user-logout-btn {
    color: #94a3b8;
    font-size: 0.85rem;
    padding: 4px;
    transition: color 0.2s;
}

.user-logout-btn:hover {
    color: #ef4444;
}

/* ==========================================================
   MODAL POPUP DE REGISTRO E INICIO DE SESIÓN
   ========================================================== */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-modal-overlay.active {
    display: flex;
    animation: fadeInModal 0.25s ease;
}

.auth-modal-box {
    background: #141722;
    border: 1px solid #2d3748;
    border-radius: 14px;
    max-width: 440px;
    width: 100%;
    padding: 30px 25px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.8);
}

.auth-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.auth-modal-close:hover {
    color: #fff;
}

.auth-tabs-nav {
    display: flex;
    background: #1c2230;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 22px;
}

.auth-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.auth-tab-btn.active {
    background: #8b5cf6;
    color: #ffffff;
}

.auth-form-body {
    display: none;
    flex-direction: column;
    gap: 16px;
}

.auth-form-body.active {
    display: flex;
}

.auth-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.auth-input-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
}

.auth-input-group input {
    background: #0f131a;
    border: 1px solid #252e40;
    border-radius: 6px;
    color: #ffffff;
    padding: 10px 14px;
    outline: none;
    font-size: 0.92rem;
    transition: border-color 0.2s;
}

.auth-input-group input:focus {
    border-color: #8b5cf6;
}

.auth-submit-btn {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s, transform 0.2s;
    margin-top: 6px;
}

.auth-submit-btn:hover {
    opacity: 0.92;
    transform: translateY(-2px);
}

.auth-switch-text {
    font-size: 0.82rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 10px;
}

.auth-switch-text a {
    color: #a855f7;
    font-weight: 700;
    text-decoration: underline;
}

.auth-alert-message {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}

.auth-alert-message.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #fca5a5;
}

.auth-alert-message.success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10b981;
    color: #6ee7b7;
}


/* ==========================================================
   ENLACES LEGALES EN EL FOOTER
   ========================================================== */
.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    font-size: 0.88rem;
}

.footer-legal-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal-links a:hover {
    color: #ec4899;
}

.footer-dot {
    color: #475569;
    font-size: 0.8rem;
}

/* ==========================================================
   BOTÓN ROSADO / MAGENTA EN CABECERA (IGUAL AL DE DONAR)
   ========================================================== */
.header-user-zone {
    display: flex;
    align-items: center;
    margin-left: 8px;
}

.user-auth-trigger-btn {
    background: linear-gradient(135deg, #ef4444 0%, #ec4899 100%) !important;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 0.86rem;
    padding: 8px 18px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4) !important;
}

.user-auth-trigger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.55) !important;
}

.user-logged-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1e2230;
    border: 1px solid #2d354a;
    padding: 4px 12px 4px 5px;
    border-radius: 30px;
}

.user-avatar-circle {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ef4444, #ec4899);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
}

.user-display-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #f8fafc;
}

.user-logout-btn {
    color: #94a3b8;
    font-size: 0.85rem;
    padding: 4px;
    transition: color 0.2s;
}

.user-logout-btn:hover {
    color: #ef4444;
}

/* ==========================================================
   MODAL POPUP DE LOGIN Y REGISTRO (CORREGIDO Y CENTRADO)
   ========================================================== */
.auth-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(8, 10, 15, 0.88) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    z-index: 999999 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

.auth-modal-overlay.active {
    display: flex !important;
    animation: authFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.auth-modal-box {
    background: #141722 !important;
    border: 1px solid #2d3748 !important;
    border-radius: 18px !important;
    max-width: 450px !important;
    width: 100% !important;
    padding: 35px 30px !important;
    position: relative !important;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85), 0 0 30px rgba(236, 72, 153, 0.15) !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.auth-modal-close {
    position: absolute !important;
    top: 14px !important;
    right: 18px !important;
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    font-size: 2rem !important;
    cursor: pointer !important;
    line-height: 1 !important;
    transition: color 0.2s;
}

.auth-modal-close:hover {
    color: #ffffff !important;
}

.auth-modal-icon-badge {
    width: 65px;
    height: 65px;
    margin: 0 auto 16px auto;
    background: linear-gradient(135deg, #ef4444, #ec4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.45);
}

.auth-tabs-nav {
    display: flex !important;
    background: #0d1017 !important;
    border: 1px solid #232b3b !important;
    border-radius: 10px !important;
    padding: 4px !important;
    margin-bottom: 22px !important;
}

.auth-tab-btn {
    flex: 1 !important;
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    padding: 10px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: background 0.2s, color 0.2s;
}

.auth-tab-btn.active {
    background: linear-gradient(135deg, #ef4444, #ec4899) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.35);
}

.auth-form-body {
    display: none !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.auth-form-body.active {
    display: flex !important;
}

.auth-input-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    text-align: left !important;
}

.auth-input-group label {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #cbd5e1 !important;
}

.input-with-icon {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

.input-with-icon i {
    position: absolute !important;
    left: 14px !important;
    color: #64748b !important;
    font-size: 0.95rem !important;
    pointer-events: none !important;
}

.input-with-icon input {
    width: 100% !important;
    background: #0b0e14 !important;
    border: 1px solid #252e40 !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    padding: 12px 14px 12px 42px !important;
    outline: none !important;
    font-size: 0.95rem !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-with-icon input:focus {
    border-color: #ec4899 !important;
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.25) !important;
}

.auth-submit-btn {
    background: linear-gradient(135deg, #ef4444, #ec4899) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    padding: 13px !important;
    border-radius: 10px !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s !important;
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.35) !important;
    margin-top: 6px !important;
    width: 100% !important;
}

.auth-submit-btn:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.5) !important;
}

.auth-switch-text {
    font-size: 0.85rem !important;
    color: #94a3b8 !important;
    text-align: center !important;
    margin: 6px 0 0 0 !important;
}

.auth-switch-text a {
    color: #ec4899 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.auth-switch-text a:hover {
    text-decoration: underline !important;
}

.auth-alert-message {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}

.auth-alert-message.error {
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid #ef4444;
    color: #fca5a5;
}

.auth-alert-message.success {
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid #10b981;
    color: #6ee7b7;
}


/* Avatar circular imagen en header */
.user-avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ec4899;
}


/* AISLAMIENTO ESTRICTO PARA EVITAR QUE AVATARES O ICONOS SE EXPANDAN EN EL LECTOR */
.reader-container img:not(.webtoon-page),
.webtoon-strip img:not(.webtoon-page),
.webtoon-strip canvas:not(.webtoon-page) {
    max-width: 100% !important;
    height: auto !important;
}

.user-avatar-img {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #ec4899 !important;
    display: inline-block !important;
}

.user-avatar-circle {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
