/* =========================================
   MY ACCOUNT - TOXIC FINAL V4
   ========================================= */

.hybrid-myaccount-wrapper { padding: 0; }

.info-list-container, .char-section-container {
    background: rgba(5, 10, 5, 0.85);
    border: 1px solid var(--theme-dark);
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0,0,0,0.6);
}

.panel-header-toxic {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 2px solid var(--theme-main);
    padding-bottom: 15px; margin-bottom: 20px;
}
.panel-header-toxic h3 { margin: 0; font-size: 20px; color: #fff; text-transform: uppercase; font-family: 'Oswald', sans-serif; letter-spacing: 1px; }

/* INFO ITEMS */
.info-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0; border-bottom: 1px solid rgba(139, 195, 74, 0.05);
}
.info-item:last-child { border-bottom: none; }
.info-label { color: var(--theme-main); font-weight: bold; text-transform: uppercase; font-size: 12px; font-family: 'Oswald', sans-serif; }
.info-value { color: #fff; font-size: 13px; }

/* CREDITOS BOOTSTRAP */
.credits-inline { display: flex; gap: 20px; }
.credits-inline span { font-weight: bold; font-family: 'Oswald', sans-serif; font-size: 14px; color: #fff; display: flex; align-items: center; }
.coin-icon { color: var(--theme-main); margin-right: 6px; font-size: 14px; }

/* BOTON EDITAR */
.btn-hybrid-edit {
    background: var(--theme-dark); color: #fff !important; padding: 2px 8px; border-radius: 2px;
    font-size: 10px; margin-left: 10px; text-decoration: none; border: 1px solid var(--theme-main);
}

/* GRID PERSONAJES - 2 COLUMNAS */
.char-grid-toxic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
@media (max-width: 991px) { .char-grid-toxic { grid-template-columns: 1fr; } }

.char-card-toxic {
    background: rgba(10, 15, 10, 0.6); border: 1px solid #1f2f1f;
    border-radius: 4px; padding: 18px; transition: 0.3s; position: relative;
}
.char-card-toxic:hover { border-color: var(--theme-main); box-shadow: 0 0 20px rgba(139, 195, 74, 0.1); }

/* HEADER PERSONAJE */
.char-card-header { display: flex; gap: 12px; margin-bottom: 12px; border-bottom: 1px solid #222; padding-bottom: 12px; }
.char-avatar-img { width: 55px; height: 55px; border-radius: 50%; border: 2px solid var(--theme-dark); background: #000; }
.char-name { font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: bold; color: #fff; }
.char-class { font-size: 11px; color: var(--theme-main); text-transform: uppercase; font-weight: bold; }
.char-pk-status { font-size: 10px; color: #666; margin-top: 2px; }

.char-status-absolute { position: absolute; top: 0; right: 0; font-size: 9px; padding: 2px 5px; border-radius: 0 4px 0 4px; font-weight: bold; }
.char-status-absolute.on { background: #2ecc71; color: #000; }
.char-status-absolute.off { background: #333; color: #666; }

/* STATS GRID */
.char-stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    text-align: center; margin-bottom: 15px;
    background: rgba(0,0,0,0.3); padding: 8px; border-radius: 4px;
}
.c-stat-box span { display: block; font-size: 9px; color: #555; font-weight: bold; }
.c-stat-box b { font-size: 13px; color: #ddd; }
.c-stat-box.highlight b { color: var(--theme-main); }

/* BARRAS COMBATE */
.char-combat-stats { margin-bottom: 15px; }
.combat-stat-row { margin-bottom: 5px; }
.cs-labels { display: flex; justify-content: space-between; font-size: 10px; color: #999; margin-bottom: 2px; font-weight: bold; }
.cs-bar-bg { height: 3px; background: #111; border-radius: 2px; overflow: hidden; }
.cs-bar-fill { height: 100%; box-shadow: 0 0 5px rgba(0,0,0,0.5); }

/* FOOTER CARD */
.char-footer-info { display: flex; justify-content: space-between; font-size: 11px; color: #777; border-top: 1px solid #222; padding-top: 10px; }
.char-footer-info i { color: var(--theme-main); margin-right: 3px; }

/* BADGES VIP */
.vip-badge { padding: 3px 8px; font-size: 10px; font-weight: bold; border-radius: 2px; }
.vip-badge.gold { border: 1px solid #f1c40f; color: #f1c40f; }
.vip-badge.bronce { border: 1px solid #e67e22; color: #e67e22; }
.vip-badge.silver { border: 1px solid #bdc3c7; color: #bdc3c7; }
.vip-badge.free { border: 1px solid #444; color: #777; }

/* =========================================
   MY ACCOUNT - TOXIC FINAL (MODAL FIX)
   ========================================= */

.hybrid-myaccount-wrapper { padding: 0; }

/* --- CONTENEDORES PRINCIPALES --- */
.info-list-container, .char-section-container {
    background: rgba(5, 10, 5, 0.85);
    border: 1px solid var(--theme-dark);
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0,0,0,0.6);
}

.panel-header-toxic {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 2px solid var(--theme-main);
    padding-bottom: 15px; margin-bottom: 20px;
}
.panel-header-toxic h3 { margin: 0; font-size: 22px; color: #fff; text-transform: uppercase; font-family: 'Oswald', sans-serif; }

/* --- INFO CUENTA --- */
.info-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; border-bottom: 1px solid #1a261a;
}
.info-label { color: var(--theme-main); font-weight: bold; text-transform: uppercase; font-size: 13px; font-family: 'Oswald', sans-serif; }
.info-value { color: #fff; font-size: 14px; }

.credits-inline { display: flex; gap: 20px; }
.credits-inline span { font-weight: bold; font-family: 'Oswald', sans-serif; font-size: 14px; color: #fff; }
.coin-icon { color: var(--theme-main); font-style: normal; margin-right: 5px; font-weight: bold; }

.btn-hybrid-edit {
    background: var(--theme-dark); color: #fff !important; padding: 2px 8px; border-radius: 2px;
    font-size: 10px; margin-left: 10px; border: 1px solid var(--theme-main); transition: 0.3s;
}
.btn-hybrid-edit:hover { background: var(--theme-main); color: #000 !important; }

/* --- GRID PERSONAJES (2 por Fila) --- */
.char-grid-toxic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
@media (max-width: 768px) { .char-grid-toxic { grid-template-columns: 1fr; } }

.char-card-toxic {
    background: rgba(10, 15, 10, 0.6);
    border: 1px solid #1f2f1f;
    border-radius: 4px; padding: 20px; transition: 0.3s;
}
.char-card-toxic:hover {
    border-color: var(--theme-main);
    box-shadow: 0 0 20px rgba(139, 195, 74, 0.15);
}

/* --- MODAL PRIVACIDAD (CORRECCIÓN FONDO BLANCO) --- */

/* Forzar fondo oscuro en todas las capas del modal */
.modal-toxic .modal-content {
    background-color: #0a0f0a !important; 
    border: 1px solid var(--theme-main) !important;
    color: #fff !important;
    border-radius: 4px;
    box-shadow: 0 0 40px rgba(0,0,0,0.9);
}

.modal-toxic .modal-header {
    background: #050a05 !important;
    border-bottom: 2px solid var(--theme-dark) !important;
    padding: 15px 20px;
}

/* ELIMINAR FONDO BLANCO DEL BODY */
.modal-toxic .modal-body {
    background-color: #0a0f0a !important; 
    padding: 0 !important;
}

.modal-toxic .modal-footer {
    background-color: #050a05 !important;
    border-top: 1px solid #1a261a !important;
    padding: 15px;
}

/* Tabla dentro del modal */
.priv-table {
    width: 100%;
    background: transparent;
}

.priv-table thead th {
    background: rgba(139, 195, 74, 0.05);
    color: var(--theme-main);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 12px;
    padding: 12px;
    border-bottom: 1px solid var(--theme-dark);
}

.priv-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #111;
    vertical-align: middle;
    color: #ccc;
}

.priv-char-name {
    color: #fff;
    font-weight: bold;
    font-size: 14px;
}

/* Botones Switch (ON/OFF) con Degradado como en tu imagen */
.switch-btn {
    padding: 6px 15px;
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    border-radius: 2px;
    cursor: pointer;
    display: inline-block;
    min-width: 85px;
    text-align: center;
    transition: 0.3s;
}

.sw-on {
    background: linear-gradient(to bottom, #8bc34a, #689f38) !important;
    color: #000 !important;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(139, 195, 74, 0.3);
}

.sw-off {
    background: linear-gradient(to bottom, #e74c3c, #c0392b) !important;
    color: #fff !important;
    font-weight: bold;
}

.sw-loading { background: #333; color: #666; cursor: wait; }

/* Botón Cerrar Ventana */
.modal-toxic .btn-default {
    background: transparent;
    border: 1px solid #444;
    color: #aaa;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    padding: 8px 20px;
    transition: 0.3s;
}

.modal-toxic .btn-default:hover {
    border-color: var(--theme-main);
    color: #fff;
}

/* Estilo del botón de cerrar (X) en el header */
.modal-toxic .close {
    color: #fff;
    opacity: 0.8;
    text-shadow: none;
}
.modal-toxic .close:hover { opacity: 1; color: var(--theme-main); }