* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #080808;
    color: #ffffff;
}


/* =========================
   HEADER
========================= */

.header {
    width: 100%;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6%;

    background: #0b0b0b;

    border-bottom: 1px solid #272015;

    position: relative;
    z-index: 10;
}

.logo {
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #d8aa45;
}

.logo span {
    margin-right: 8px;
}

.header nav {
    display: flex;
    gap: 35px;
}

.header nav a {
    color: #bdbdbd;
    text-decoration: none;
    font-size: 14px;

    transition: 0.3s;
}

.header nav a:hover {
    color: #d8aa45;
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.header-buttons button {
    padding: 11px 18px;

    border-radius: 6px;

    cursor: pointer;

    font-weight: bold;

    transition: 0.3s;
}

.login-btn {
    background: transparent;
    color: white;

    border: 1px solid #555;
}

.login-btn:hover {
    border-color: #d8aa45;
    color: #d8aa45;
}

.register-btn {
    background: #d8aa45;
    color: #090909;

    border: 1px solid #d8aa45;
}

.register-btn:hover {
    background: #f0c45c;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 520px;

    display: flex;
    align-items: center;

    padding: 70px 8%;

    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(216, 170, 69, 0.16),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #090909,
            #15110a
        );

    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -180px;
    top: -100px;

    border-radius: 50%;

    border: 1px solid rgba(216, 170, 69, 0.15);
}

.hero-content {
    max-width: 650px;
}

.hero-small {
    color: #d8aa45;

    font-size: 13px;

    letter-spacing: 4px;

    margin-bottom: 20px;

    font-weight: bold;
}

.hero h1 {
    font-size: clamp(45px, 6vw, 78px);

    line-height: 1.05;

    margin-bottom: 25px;
}

.hero h1 span {
    color: #d8aa45;
}

.hero-text {
    max-width: 500px;

    color: #a7a7a7;

    line-height: 1.7;

    font-size: 17px;

    margin-bottom: 35px;
}

.hero-button {
    background: #d8aa45;

    border: none;

    padding: 15px 28px;

    border-radius: 6px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

.hero-button:hover {
    transform: translateY(-2px);

    background: #f0c45c;
}


/* =========================
   SECCIONES
========================= */

.games-section,
.categories {
    padding: 80px 7%;
}

.section-title {
    margin-bottom: 35px;
}

.section-title p {
    color: #d8aa45;

    font-size: 12px;

    letter-spacing: 3px;

    margin-bottom: 8px;

    font-weight: bold;
}

.section-title h2 {
    font-size: 32px;
}


/* =========================
   JUEGOS
========================= */

.games-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.game-card {
    background: #111111;

    border: 1px solid #262626;

    border-radius: 10px;

    overflow: hidden;

    transition: 0.3s;
}

.game-card:hover {
    transform: translateY(-6px);

    border-color: #d8aa45;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.4);
}

.game-image {
    height: 210px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 75px;

    background:
        radial-gradient(
            circle,
            #2a2417,
            #111111 70%
        );
}

.game-info {
    padding: 18px;
}

.game-info h3 {
    margin-bottom: 15px;

    font-size: 18px;
}

.game-info button {
    width: 100%;

    padding: 11px;

    background: transparent;

    border: 1px solid #d8aa45;

    color: #d8aa45;

    border-radius: 5px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

.game-info button:hover {
    background: #d8aa45;

    color: #090909;
}


/* =========================
   PROMOCIÓN
========================= */

.promotion {
    margin: 20px 7% 80px;

    padding: 50px;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    background:
        linear-gradient(
            120deg,
            #19140a,
            #0e0e0e
        );

    border: 1px solid #3a2d17;
}

.promotion-content p {
    color: #d8aa45;

    font-size: 12px;

    letter-spacing: 3px;

    margin-bottom: 10px;
}

.promotion-content h2 {
    font-size: 30px;

    margin-bottom: 10px;
}

.promotion-content span {
    color: #999;
}

.promotion > button {
    padding: 14px 25px;

    background: #d8aa45;

    border: none;

    border-radius: 6px;

    font-weight: bold;

    cursor: pointer;

    white-space: nowrap;
}


/* =========================
   CATEGORÍAS
========================= */

.categories {
    background: #0c0c0c;
}

.categories-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.category-card {
    padding: 30px;

    text-align: center;

    background: #111111;

    border: 1px solid #252525;

    border-radius: 10px;

    transition: 0.3s;
}

.category-card:hover {
    border-color: #d8aa45;

    transform: translateY(-5px);
}

.category-card span {
    display: block;

    font-size: 45px;

    margin-bottom: 15px;
}

.category-card h3 {
    margin-bottom: 8px;
}

.category-card p {
    color: #888;

    font-size: 14px;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 40px 7%;

    background: #070707;

    border-top: 1px solid #222;

    text-align: center;
}

.footer-logo {
    color: #d8aa45;

    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 12px;
}

footer p {
    color: #666;

    font-size: 13px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .header {
        padding: 0 4%;
    }

    .header nav {
        display: none;
    }

    .games-grid,
    .categories-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .header {
        height: auto;

        padding: 18px 5%;

        flex-wrap: wrap;

        gap: 15px;
    }

    .header-buttons {
        width: 100%;
    }

    .header-buttons button {
        flex: 1;
    }

    .hero {
        min-height: 500px;

        padding: 60px 7%;
    }

    .hero h1 {
        font-size: 45px;
    }

    .games-section,
    .categories {
        padding: 60px 5%;
    }

    .games-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .promotion {
        margin: 20px 5% 60px;

        padding: 35px 25px;

        flex-direction: column;

        align-items: flex-start;
    }

    .promotion > button {
        width: 100%;
    }

}
/* =========================================
   MULTIPANEL - PANEL ADMINISTRATIVO
   ========================================= */

.admin-body {
    margin: 0;
    background: #090a0f;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    min-height: 100vh;
}


/* SIDEBAR */

.admin-sidebar {
    width: 250px;
    min-height: 100vh;
    background: #0d0f16;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
}

.admin-logo {
    padding: 28px 24px;
    font-size: 22px;
    font-weight: 800;
    color: #f4c76b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-icon,
.top-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f4c76b, #b88322);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.admin-profile strong,
.admin-top-user strong {
    display: block;
    font-size: 14px;
}

.admin-profile span,
.admin-top-user span {
    display: block;
    color: #8d919d;
    font-size: 11px;
    margin-top: 4px;
}


/* MENU */

.admin-menu {
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.admin-menu a,
.sidebar-bottom a {
    text-decoration: none;
    color: #969aa7;
    padding: 13px 15px;
    border-radius: 9px;
    font-size: 14px;
    transition: 0.2s;
}

.admin-menu a span {
    display: inline-block;
    width: 25px;
}

.admin-menu a:hover,
.admin-menu a.active {
    background: rgba(244, 199, 107, 0.12);
    color: #f4c76b;
}

.sidebar-bottom {
    margin-top: auto;
    padding: 15px 12px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-bottom a {
    display: block;
}


/* CONTENIDO */

.admin-main {
    margin-left: 250px;
    width: calc(100% - 250px);
    min-height: 100vh;
    background:
        radial-gradient(circle at 80% 0%, rgba(244, 199, 107, 0.08), transparent 30%),
        #090a0f;
}


/* TOPBAR */

.admin-topbar {
    min-height: 85px;
    padding: 0 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.admin-welcome {
    color: #8d919d;
    font-size: 12px;
}

.admin-topbar h1 {
    margin: 5px 0 0;
    font-size: 25px;
}

.admin-top-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification {
    font-size: 18px;
    margin-right: 15px;
    cursor: pointer;
}


/* ESTADÍSTICAS */

.stats-grid {
    padding: 30px 35px 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stat-card {
    background: #11131b;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(244, 199, 107, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.stat-card span {
    display: block;
    color: #9296a2;
    font-size: 12px;
    margin-bottom: 7px;
}

.stat-card strong {
    display: block;
    font-size: 24px;
}

.stat-card small {
    display: block;
    color: #55c98a;
    font-size: 11px;
    margin-top: 5px;
}


/* PANELES */

.admin-content-grid {
    padding: 20px 35px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
}

.admin-panel {
    background: #11131b;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    overflow: hidden;
}

.panel-header {
    padding: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-header span {
    color: #f4c76b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.panel-header h2 {
    margin: 5px 0 0;
    font-size: 18px;
}

.panel-header button {
    background: transparent;
    border: 1px solid rgba(244, 199, 107, 0.5);
    color: #f4c76b;
    border-radius: 7px;
    padding: 8px 12px;
    cursor: pointer;
}


/* ACTIVIDAD */

.activity-list {
    padding: 8px 20px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(244, 199, 107, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-item strong {
    display: block;
    font-size: 13px;
}

.activity-item span {
    display: block;
    color: #858995;
    font-size: 11px;
    margin-top: 4px;
}

.activity-item time {
    margin-left: auto;
    color: #70737e;
    font-size: 10px;
}


/* ACCIONES */

.quick-actions {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.quick-actions button {
    min-height: 100px;
    background: #171923;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 11px;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    transition: 0.2s;
}

.quick-actions button:hover {
    border-color: rgba(244, 199, 107, 0.5);
    transform: translateY(-2px);
}

.quick-actions span {
    display: block;
    font-size: 25px;
    margin-bottom: 10px;
}


/* TABLA */

.recent-users {
    margin: 0 35px 35px;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 15px 20px;
    text-align: left;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

th {
    color: #777b87;
    font-size: 11px;
    text-transform: uppercase;
}

td {
    color: #d7d9df;
}

.status {
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 10px;
}

.active-status {
    background: rgba(70, 200, 130, 0.12);
    color: #55c98a;
}

.inactive-status {
    background: rgba(255, 255, 255, 0.07);
    color: #858995;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-content-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 700px) {

    .admin-sidebar {
        width: 70px;
    }

    .admin-logo {
        font-size: 0;
        text-align: center;
    }

    .admin-logo::after {
        content: "♠️";
        font-size: 24px;
    }

    .admin-profile > div:last-child,
    .admin-menu a:not(.active)::after,
    .sidebar-bottom {
        display: none;
    }

    .admin-main {
        margin-left: 70px;
        width: calc(100% - 70px);
    }

    .admin-topbar {
        padding: 0 20px;
    }

    .stats-grid {
        padding: 20px;
        grid-template-columns: 1fr;
    }

    .admin-content-grid {
        padding: 10px 20px;
    }

    .recent-users {
        margin: 10px 20px 20px;
    }

}
/* ================================
   USUARIOS - MULTIPANEL
================================ */

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 240px;
    min-width: 240px;
    padding: 28px 20px;
    background: #11121a;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.sidebar .logo {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 35px;
}

.admin-info {
    margin-bottom: 30px;
}

.admin-info strong,
.admin-info span {
    display: block;
}

.admin-info span {
    font-size: 12px;
    opacity: .6;
    margin-top: 4px;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar nav a,
.sidebar-bottom a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.sidebar nav a:hover,
.sidebar nav a.active {
    background: rgba(255,255,255,0.08);
}

.sidebar-bottom {
    margin-top: 40px;
}

.main-content {
    flex: 1;
    padding: 40px;
    background: #0e0f16;
}

.page-header {
    margin-bottom: 30px;
}

.page-header h1 {
    margin: 5px 0;
    font-size: 38px;
}

.page-header p {
    opacity: .65;
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffc857;
}

.panel {
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.panel-header h2 {
    margin: 5px 0 0;
}

.counter {
    opacity: .7;
}

/* FORMULARIO */

.user-form {
    display: flex;
    align-items: end;
    gap: 18px;
    flex-wrap: wrap;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    font-size: 13px;
    opacity: .75;
}

.form-group input {
    width: 220px;
    padding: 12px 14px;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,.15);
    background: #171923;
    color: white;
    outline: none;
}

.form-group input:focus {
    border-color: #ffc857;
}

.btn-primary {
    padding: 12px 20px;
    border: none;
    border-radius: 9px;
    background: #ffc857;
    color: #111;
    font-weight: 700;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-1px);
}

/* TABLA */

.users-table {
    width: 100%;
}

.table-header,
.table-row {
    display: grid;
    grid-template-columns: 1.5fr .6fr 1fr .8fr 2fr;
    gap: 15px;
    align-items: center;
}

.table-header {
    padding: 14px 10px;
    font-size: 12px;
    text-transform: uppercase;
    opacity: .55;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.table-row {
    padding: 18px 10px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.fichas {
    font-weight: 700;
}

.status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    background: rgba(60, 220, 130, .15);
    color: #65e89b;
    font-size: 12px;
    font-weight: 700;
}

.actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.actions form {
    display: flex;
    gap: 5px;
}

.actions input {
    width: 90px;
    padding: 8px;
    border-radius: 7px;
    border: 1px solid rgba(255,255,255,.12);
    background: #171923;
    color: white;
}

.btn-add,
.btn-remove {
    border: none;
    padding: 8px 11px;
    border-radius: 7px;
    cursor: pointer;
    font-weight: 600;
}

.btn-add {
    background: rgba(60,220,130,.15);
    color: #65e89b;
}

.btn-remove {
    background: rgba(255,90,90,.15);
    color: #ff7777;
}

/* SIN USUARIOS */

.empty-state {
    text-align: center;
    padding: 50px 20px;
    opacity: .7;
}

.empty-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

/* =========================================================
   ADMINISTRADORES - MULTIPANEL
   ESTILOS ESPECÍFICOS
   ========================================================= */

/* CONTENEDOR PRINCIPAL */

.container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 35px;
}


/* HEADER DE LA PÁGINA */

.container > .header {
    width: 100%;
    min-height: 85px;
    height: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 25px 30px;

    margin-bottom: 25px;

    background: #11131b;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 14px;
}

.container > .header h1 {
    margin: 0 0 6px;

    font-size: 30px;

    color: #ffffff;
}

.container > .header p {
    margin: 0;

    color: #9296a2;

    font-size: 14px;
}


/* BOTONES */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 10px 16px;

    border-radius: 8px;

    border: 1px solid rgba(255,255,255,0.15);

    background: #171923;

    color: #ffffff;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition: 0.2s;
}

.btn:hover {
    border-color: #d8aa45;

    color: #d8aa45;

    transform: translateY(-1px);
}

.btn-primary {
    background: #d8aa45;

    border-color: #d8aa45;

    color: #111111;
}

.btn-primary:hover {
    background: #f0c45c;

    border-color: #f0c45c;

    color: #111111;
}

.btn-danger {
    background: rgba(255, 80, 80, 0.12);

    border-color: rgba(255, 80, 80, 0.35);

    color: #ff7777;
}

.btn-danger:hover {
    background: rgba(255, 80, 80, 0.2);

    border-color: #ff7777;

    color: #ff9999;
}


/* CARDS */

.card {
    width: 100%;

    background: #11131b;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 14px;

    padding: 25px;

    margin-bottom: 25px;

    overflow: hidden;
}

.card h2 {
    margin: 0 0 15px;

    font-size: 20px;

    color: #ffffff;
}

.card p {
    color: #a1a4ae;

    line-height: 1.6;

    margin: 7px 0;
}

.card strong {
    color: #ffffff;
}


/* CABECERA DE CARD */

.card-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 20px;
}

.card-header h2 {
    margin-bottom: 5px;
}

.card-header p {
    margin: 0;
}


/* FORMULARIOS */

.form-group {
    display: flex;

    flex-direction: column;

    gap: 7px;

    margin-bottom: 15px;
}

.form-group label {
    color: #bfc2ca;

    font-size: 13px;

    font-weight: 600;
}

.form-group input {
    width: 100%;

    max-width: 400px;

    padding: 12px 14px;

    border-radius: 8px;

    border: 1px solid rgba(255,255,255,0.12);

    background: #171923;

    color: #ffffff;

    outline: none;

    font-size: 14px;
}

.form-group input::placeholder {
    color: #777b87;
}

.form-group input:focus {
    border-color: #d8aa45;

    box-shadow: 0 0 0 2px rgba(216,170,69,0.08);
}


/* TABLA */

.table-container {
    width: 100%;

    overflow-x: auto;

    overflow-y: hidden;

    border-radius: 10px;

    -webkit-overflow-scrolling: touch;
}

.table-container table {
    width: 100%;

    min-width: 1100px;

    border-collapse: collapse;

    background: transparent;
}

.table-container th {
    padding: 15px 12px;

    text-align: left;

    white-space: nowrap;

    color: #777b87;

    background: #0d0f16;

    border-bottom: 1px solid rgba(255,255,255,0.08);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 0.4px;
}

.table-container td {
    padding: 15px 12px;

    color: #d7d9df;

    border-bottom: 1px solid rgba(255,255,255,0.05);

    vertical-align: middle;

    font-size: 13px;
}

.table-container tr:last-child td {
    border-bottom: none;
}

.table-container tbody tr {
    transition: 0.15s;
}

.table-container tbody tr:hover {
    background: rgba(255,255,255,0.025);
}


/* INPUTS DENTRO DE LA TABLA */

.table-container input {
    width: 150px;

    padding: 9px 10px;

    border-radius: 7px;

    border: 1px solid rgba(255,255,255,0.12);

    background: #171923;

    color: #ffffff;

    outline: none;

    font-size: 12px;
}

.table-container input:focus {
    border-color: #d8aa45;
}


/* BOTONES DENTRO DE TABLA */

.table-container .btn {
    padding: 8px 11px;

    font-size: 11px;

    white-space: nowrap;
}


/* BADGES */

.badge {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 5px 9px;

    border-radius: 20px;

    background: rgba(255,255,255,0.08);

    color: #bfc2ca;

    font-size: 10px;

    font-weight: 700;

    white-space: nowrap;
}

.badge-success {
    background: rgba(70,200,130,0.12);

    color: #55c98a;
}

.badge-danger {
    background: rgba(255,80,80,0.12);

    color: #ff7777;
}


/* FORMULARIOS DE ACCIONES */

.table-container form {
    margin: 0;
}

.table-container form[style] {
    min-width: 145px;
}


/* FORMULARIO DE CAMBIAR CONTRASEÑA */

.table-container td form input[type="password"] {
    display: block;

    margin-bottom: 7px;
}


/* INFORMACIÓN DEL FLUJO */

.card:last-child {
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(216,170,69,0.07),
            transparent 35%
        ),
        #11131b;
}

.card:last-child strong {
    color: #d8aa45;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .container {
        padding: 25px 20px;
    }

    .container > .header {
        padding: 22px;
    }

    .container > .header h1 {
        font-size: 26px;
    }

}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 700px) {

    body {
        overflow-x: hidden;
    }

    .container {
        width: 100%;

        padding: 15px 10px;
    }

    .container > .header {
        min-height: auto;

        padding: 20px;

        flex-direction: column;

        align-items: flex-start;

        border-radius: 12px;
    }

    .container > .header h1 {
        font-size: 24px;
    }

    .container > .header p {
        font-size: 13px;
    }

    .container > .header > div:last-child {
        width: 100%;

        display: flex;

        gap: 8px;
    }

    .container > .header > div:last-child .btn {
        flex: 1;

        text-align: center;
    }


    /* CARDS */

    .card {
        padding: 18px;

        margin-bottom: 15px;

        border-radius: 12px;
    }

    .card h2 {
        font-size: 18px;
    }


    /* FORMULARIOS */

    .form-group input {
        max-width: 100%;

        width: 100%;
    }

    .card form > .btn {
        width: 100%;
    }


    /* TABLA */

    .table-container {
        margin-left: -5px;

        margin-right: -5px;

        width: calc(100% + 10px);
    }

    .table-container table {
        min-width: 1100px;
    }


    /* BOTONES */

    .table-container .btn {
        padding: 9px 12px;
    }


    /* INFORMACIÓN */

    .card:last-child {
        padding: 20px;
    }

}


/* =========================================================
   CELULAR PEQUEÑO
   ========================================================= */

@media (max-width: 400px) {

    .container {
        padding: 10px 7px;
    }

    .container > .header {
        padding: 16px;
    }

    .container > .header h1 {
        font-size: 21px;
    }

    .card {
        padding: 15px;
    }

}

/* =========================================================
   ADMINISTRADORES - DISEÑO PREMIUM
   ========================================================= */

.admin-page {
    margin: 0;
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 15% 0%,
            rgba(216,170,69,0.09),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 20%,
            rgba(80,90,160,0.08),
            transparent 35%
        ),
        #080a10;

    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
}


.admin-container {
    width: 100%;
    max-width: 1550px;

    margin: 0 auto;

    padding: 35px;
}


/* =========================================================
   HEADER
   ========================================================= */

.admin-page-header {
    min-height: 105px;

    padding: 25px 30px;

    margin-bottom: 22px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    border-radius: 18px;

    border: 1px solid rgba(255,255,255,0.08);

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.055),
            rgba(255,255,255,0.015)
        );

    box-shadow:
        0 20px 50px rgba(0,0,0,0.25);

    position: relative;

    overflow: hidden;
}


.admin-page-header::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    right: -100px;
    top: -150px;

    border-radius: 50%;

    border: 1px solid rgba(216,170,69,0.16);

    box-shadow:
        0 0 80px rgba(216,170,69,0.08);
}


.header-kicker {
    display: block;

    margin-bottom: 7px;

    color: #d8aa45;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 3px;
}


.header-title h1 {
    margin: 0;

    font-size: 32px;

    letter-spacing: -0.5px;
}


.header-title p {
    margin: 7px 0 0;

    color: #858a98;

    font-size: 13px;
}


.header-actions {
    display: flex;

    gap: 10px;

    position: relative;

    z-index: 2;
}


/* =========================================================
   BOTONES
   ========================================================= */

.admin-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 42px;

    padding: 0 17px;

    border-radius: 9px;

    border: 1px solid rgba(255,255,255,0.12);

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    transition: all .2s ease;
}


.admin-btn:hover {
    transform: translateY(-2px);
}


.admin-btn-secondary {
    color: #d7d9df;

    background: rgba(255,255,255,0.04);
}


.admin-btn-secondary:hover {
    border-color: rgba(216,170,69,0.5);

    color: #d8aa45;
}


.admin-btn-primary {
    color: #111;

    background:
        linear-gradient(
            135deg,
            #f4c76b,
            #c79532
        );

    border: none;

    box-shadow:
        0 8px 25px rgba(216,170,69,0.16);
}


.admin-btn-primary:hover {
    box-shadow:
        0 12px 30px rgba(216,170,69,0.25);
}


.admin-btn-danger {
    color: #ff8585;

    background: rgba(255,70,70,0.07);

    border-color: rgba(255,70,70,0.2);
}


/* =========================================================
   STATS
   ========================================================= */

.admin-stats {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

    margin-bottom: 22px;
}


.admin-stat-card {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 20px;

    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            #12151e,
            #0e1017
        );

    border: 1px solid rgba(255,255,255,0.07);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.18);

    transition: .2s;
}


.admin-stat-card:hover {
    transform: translateY(-3px);

    border-color: rgba(216,170,69,0.22);
}


.stat-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            rgba(216,170,69,0.17),
            rgba(216,170,69,0.04)
        );

    border: 1px solid rgba(216,170,69,0.12);

    font-size: 20px;
}


.admin-stat-card span {
    display: block;

    color: #818695;

    font-size: 11px;

    margin-bottom: 5px;
}


.admin-stat-card strong {
    display: block;

    font-size: 18px;

    color: #ffffff;
}


.admin-stat-card small {
    display: block;

    margin-top: 4px;

    color: #55c98a;

    font-size: 10px;
}


/* =========================================================
   CARDS
   ========================================================= */

.admin-card {
    margin-bottom: 22px;

    padding: 26px;

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            rgba(20,23,32,0.98),
            rgba(13,15,22,0.98)
        );

    border: 1px solid rgba(255,255,255,0.075);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.20);

    position: relative;

    overflow: hidden;
}


.admin-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(216,170,69,0.45),
            transparent
        );
}


.card-title {
    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 22px;
}


.card-title-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 11px;

    background: rgba(255,255,255,0.055);

    border: 1px solid rgba(255,255,255,0.08);

    font-size: 17px;
}


.card-title-icon.gold {
    background: rgba(216,170,69,0.12);

    border-color: rgba(216,170,69,0.2);

    color: #d8aa45;
}


.card-kicker {
    display: block;

    color: #d8aa45;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 4px;
}


.card-title h2 {
    margin: 0;

    font-size: 19px;

    color: #ffffff;
}


/* =========================================================
   INFORMACION
   ========================================================= */

.info-content {
    padding: 17px 20px;

    border-left: 2px solid #d8aa45;

    background: rgba(255,255,255,0.025);

    border-radius: 0 10px 10px 0;
}


.info-content p {
    margin: 5px 0;

    color: #9a9fac;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   FORMULARIO
   ========================================================= */

.admin-form {
    display: grid;

    grid-template-columns:
        1fr 1fr auto;

    gap: 15px;

    align-items: end;
}


.input-group {
    display: flex;

    flex-direction: column;

    gap: 7px;
}


.input-group label {
    color: #a7abb6;

    font-size: 11px;

    font-weight: 700;
}


.input-group input {
    width: 100%;

    height: 44px;

    padding: 0 13px;

    border-radius: 9px;

    border: 1px solid rgba(255,255,255,0.10);

    background: #0c0f16;

    color: #ffffff;

    outline: none;

    transition: .2s;
}


.input-group input:focus {
    border-color: rgba(216,170,69,0.65);

    box-shadow:
        0 0 0 3px rgba(216,170,69,0.07);
}


.input-group input::placeholder {
    color: #5d626e;
}


/* =========================================================
   HEADER TABLA
   ========================================================= */

.card-header-row {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 20px;
}


.card-header-row .card-title {
    margin-bottom: 0;
}


.total-badge {
    min-width: 75px;

    padding: 9px 13px;

    text-align: center;

    border-radius: 10px;

    background: rgba(216,170,69,0.08);

    border: 1px solid rgba(216,170,69,0.15);
}


.total-badge span {
    display: block;

    color: #777c89;

    font-size: 8px;

    letter-spacing: 1px;
}


.total-badge strong {
    color: #d8aa45;

    font-size: 19px;
}


/* =========================================================
   TABLA
   ========================================================= */

.admin-table-wrapper {
    width: 100%;

    overflow-x: auto;

    border-radius: 12px;

    border: 1px solid rgba(255,255,255,0.06);

    -webkit-overflow-scrolling: touch;
}


.admin-table {
    width: 100%;

    min-width: 1250px;

    border-collapse: collapse;
}


.admin-table th {
    padding: 14px 13px;

    background: #0b0d13;

    color: #656a77;

    text-align: left;

    font-size: 9px;

    letter-spacing: 1px;

    white-space: nowrap;

    border-bottom: 1px solid rgba(255,255,255,0.07);
}


.admin-table td {
    padding: 16px 13px;

    color: #cfd2da;

    font-size: 12px;

    border-bottom: 1px solid rgba(255,255,255,0.045);

    vertical-align: middle;
}


.admin-table tbody tr {
    transition: .18s;
}


.admin-table tbody tr:hover {
    background: rgba(216,170,69,0.025);
}


.admin-table tbody tr:last-child td {
    border-bottom: none;
}


/* =========================================================
   USUARIO
   ========================================================= */

.user-cell {
    display: flex;

    align-items: center;

    gap: 9px;
}


.user-avatar {
    width: 31px;
    height: 31px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            #d8aa45,
            #956d22
        );

    color: #111;

    font-size: 11px;

    font-weight: 900;
}


.user-cell strong {
    color: #ffffff;
}


/* =========================================================
   BADGES
   ========================================================= */

.id-badge {
    color: #777d8a;

    font-size: 10px;

    font-weight: 700;
}


.role-badge,
.status-badge {
    display: inline-flex;

    align-items: center;

    gap: 4px;

    padding: 6px 9px;

    border-radius: 20px;

    white-space: nowrap;

    font-size: 9px;

    font-weight: 800;
}


.role-badge {
    background: rgba(255,255,255,0.055);

    color: #aeb2bd;
}


.role-badge.superadmin {
    background: rgba(216,170,69,0.12);

    color: #e2b955;

    border: 1px solid rgba(216,170,69,0.15);
}


.status-badge.active {
    background: rgba(70,200,130,0.10);

    color: #55c98a;
}


.status-badge.inactive {
    background: rgba(255,80,80,0.10);

    color: #ff7777;
}


/* =========================================================
   FICHAS
   ========================================================= */

.chips-value strong {
    display: block;

    color: #d8aa45;

    font-size: 17px;
}


.chips-value small {
    display: block;

    margin-top: 3px;

    color: #676c78;

    font-size: 9px;
}


/* =========================================================
   FORMULARIOS TABLA
   ========================================================= */

.chips-form,
.password-form {
    display: flex;

    flex-direction: column;

    gap: 6px;
}


.chips-form input,
.password-form input {
    width: 125px;

    height: 32px;

    padding: 0 9px;

    border-radius: 7px;

    border: 1px solid rgba(255,255,255,0.09);

    background: #0b0e14;

    color: #ffffff;

    outline: none;

    font-size: 10px;
}


.chips-form input:focus,
.password-form input:focus {
    border-color: rgba(216,170,69,0.5);
}


.chips-buttons {
    display: flex;

    gap: 5px;
}


/* =========================================================
   BOTONES PEQUEÑOS
   ========================================================= */

.small-btn {
    min-height: 30px;

    padding: 0 9px;

    border-radius: 7px;

    border: 1px solid transparent;

    cursor: pointer;

    font-size: 9px;

    font-weight: 800;

    white-space: nowrap;

    transition: .18s;
}


.small-btn:hover {
    transform: translateY(-1px);
}


.small-btn.add {
    background: rgba(70,200,130,0.10);

    color: #55c98a;

    border-color: rgba(70,200,130,0.18);
}


.small-btn.remove {
    background: rgba(255,80,80,0.09);

    color: #ff7777;

    border-color: rgba(255,80,80,0.17);
}


.small-btn.change {
    background: rgba(216,170,69,0.10);

    color: #d8aa45;

    border-color: rgba(216,170,69,0.18);
}


.protected {
    color: #626773;

    font-size: 10px;

    white-space: nowrap;
}


/* =========================================================
   TABLA VACIA
   ========================================================= */

.empty-table {
    padding: 50px !important;

    text-align: center;

    color: #777d89 !important;
}


.empty-table div {
    font-size: 32px;

    margin-bottom: 10px;
}


.empty-table strong {
    display: block;

    color: #b9bdc7;

    margin-bottom: 5px;
}


.empty-table span {
    font-size: 11px;
}


/* =========================================================
   FLUJO
   ========================================================= */

.flow-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;
}


.flow-step {
    min-height: 150px;

    padding: 18px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.035),
            rgba(255,255,255,0.012)
        );

    border: 1px solid rgba(255,255,255,0.06);

    transition: .2s;
}


.flow-step:hover {
    transform: translateY(-3px);

    border-color: rgba(216,170,69,0.25);
}


.flow-number {
    color: #d8aa45;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;
}


.flow-step h3 {
    margin: 15px 0 7px;

    color: #ffffff;

    font-size: 13px;
}


.flow-step p {
    margin: 0;

    color: #747986;

    font-size: 10px;

    line-height: 1.6;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .admin-container {
        padding: 20px;
    }


    .admin-stats {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .admin-form {
        grid-template-columns:
            1fr 1fr;
    }


    .admin-form .admin-btn {
        grid-column: 1 / -1;
    }


    .flow-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 700px) {

    .admin-container {
        padding: 10px;
    }


    .admin-page-header {
        padding: 20px;

        flex-direction: column;

        align-items: flex-start;
    }


    .header-title h1 {
        font-size: 25px;
    }


    .header-actions {
        width: 100%;
    }


    .header-actions .admin-btn {
        flex: 1;
    }


    .admin-stats {
        grid-template-columns: 1fr;
    }


    .admin-card {
        padding: 18px;
    }


    .admin-form {
        grid-template-columns: 1fr;
    }


    .admin-form .admin-btn {
        grid-column: auto;

        width: 100%;
    }


    .card-header-row {
        align-items: flex-start;
    }


    .flow-grid {
        grid-template-columns: 1fr;
    }


    .flow-step {
        min-height: 125px;
    }


    .admin-table-wrapper {
        margin: 0 -4px;

        width: calc(100% + 8px);
    }

}


@media (max-width: 420px) {

    .admin-page-header {
        padding: 16px;
    }


    .header-actions {
        flex-direction: column;
    }


    .header-actions .admin-btn {
        width: 100%;
    }


    .admin-card {
        padding: 15px;
    }


    .card-title h2 {
        font-size: 17px;
    }

}

/* =========================================================
   ADMINISTRADORES - REDISEÑO FINAL PREMIUM
   PEGAR AL FINAL DE style.css
   ========================================================= */

/* Fondo general de la página de administradores */
body:has(.container) {
    background:
        radial-gradient(
            circle at 85% 5%,
            rgba(216, 170, 69, 0.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(70, 90, 160, 0.08),
            transparent 30%
        ),
        #070910 !important;

    color: #ffffff;
}


/* CONTENEDOR */

.container {
    max-width: 1550px !important;
    padding: 40px !important;
}


/* =========================================================
   HEADER PRINCIPAL
   ========================================================= */

.container > .header {
    position: relative;

    min-height: 125px !important;
    height: auto !important;

    padding: 30px 35px !important;

    margin-bottom: 25px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    background:
        linear-gradient(
            135deg,
            rgba(24, 27, 39, 0.98),
            rgba(12, 14, 22, 0.98)
        ) !important;

    border: 1px solid rgba(255,255,255,0.09) !important;

    border-radius: 20px !important;

    box-shadow:
        0 20px 60px rgba(0,0,0,0.35),
        inset 0 1px 0 rgba(255,255,255,0.04) !important;

    overflow: hidden;
}


/* brillo dorado del header */

.container > .header::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -150px;
    top: -220px;

    border-radius: 50%;

    border: 1px solid rgba(216,170,69,0.18);

    box-shadow:
        0 0 100px rgba(216,170,69,0.08);

    pointer-events: none;
}


.container > .header::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 35%;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            #d8aa45,
            rgba(216,170,69,0)
        );

    opacity: .7;
}


/* TITULO */

.container > .header h1 {
    position: relative;
    z-index: 2;

    margin: 0 0 7px !important;

    font-size: 36px !important;

    font-weight: 800;

    letter-spacing: -1px;

    color: #ffffff !important;
}


.container > .header p {
    position: relative;
    z-index: 2;

    margin: 0 !important;

    color: #8e94a3 !important;

    font-size: 13px !important;
}


/* =========================================================
   BOTONES DEL HEADER
   ========================================================= */

.container > .header > div:last-child {
    position: relative;
    z-index: 5;

    display: flex;

    gap: 10px;
}


.container > .header .btn {
    min-height: 42px;

    padding: 0 17px !important;

    border-radius: 10px !important;

    background: rgba(255,255,255,0.045) !important;

    border: 1px solid rgba(255,255,255,0.12) !important;

    color: #d9dbe1 !important;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease !important;
}


.container > .header .btn:hover {
    transform: translateY(-2px);

    border-color: rgba(216,170,69,0.55) !important;

    color: #d8aa45 !important;

    background: rgba(216,170,69,0.07) !important;

    box-shadow:
        0 8px 25px rgba(0,0,0,0.25);
}


/* Botón principal */

.container > .header .btn-primary {
    background:
        linear-gradient(
            135deg,
            #f4c76b,
            #c79532
        ) !important;

    border: none !important;

    color: #111 !important;

    box-shadow:
        0 8px 25px rgba(216,170,69,0.18);
}


.container > .header .btn-primary:hover {
    background:
        linear-gradient(
            135deg,
            #ffd97d,
            #d8a73f
        ) !important;

    color: #111 !important;

    box-shadow:
        0 12px 35px rgba(216,170,69,0.30);
}


/* =========================================================
   CARDS
   ========================================================= */

.container > .card {
    position: relative;

    padding: 30px !important;

    margin-bottom: 25px !important;

    border-radius: 18px !important;

    background:
        linear-gradient(
            145deg,
            rgba(20,23,33,0.98),
            rgba(12,14,21,0.98)
        ) !important;

    border: 1px solid rgba(255,255,255,0.075) !important;

    box-shadow:
        0 20px 55px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.025) !important;

    overflow: hidden;
}


/* línea dorada superior */

.container > .card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 8%;

    width: 84%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(216,170,69,0.55),
            transparent
        );
}


/* brillo interno */

.container > .card::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    right: -150px;
    top: -150px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(216,170,69,0.07),
            transparent 70%
        );

    pointer-events: none;
}


/* TITULOS DE CARDS */

.container > .card h2 {
    position: relative;
    z-index: 2;

    margin: 0 0 20px !important;

    font-size: 21px !important;

    font-weight: 750;

    color: #ffffff !important;
}


.container > .card p {
    position: relative;
    z-index: 2;

    color: #9095a3 !important;

    line-height: 1.7;

    font-size: 13px;
}


/* =========================================================
   QUITAR DESCRIPCIÓN DE "GESTIÓN DE ADMINISTRADORES"
   ========================================================= */

/*
   Oculta solamente los textos descriptivos
   de la primera tarjeta.
*/

.container > .card:first-of-type p {
    display: none !important;
}


/* =========================================================
   FORMULARIO CREAR ADMINISTRADOR
   ========================================================= */

.container > .card form {
    position: relative;
    z-index: 3;
}


.container > .card .form-group {
    margin-bottom: 18px !important;
}


.container > .card .form-group label {
    color: #aeb3bf !important;

    font-size: 11px !important;

    font-weight: 700;

    letter-spacing: .2px;
}


.container > .card .form-group input {
    height: 46px !important;

    max-width: 450px !important;

    padding: 0 14px !important;

    border-radius: 10px !important;

    background:
        linear-gradient(
            145deg,
            #0d1017,
            #11141d
        ) !important;

    border: 1px solid rgba(255,255,255,0.10) !important;

    color: #ffffff !important;

    transition: .2s ease;
}


.container > .card .form-group input:hover {
    border-color: rgba(255,255,255,0.18) !important;
}


.container > .card .form-group input:focus {
    border-color: rgba(216,170,69,0.65) !important;

    box-shadow:
        0 0 0 3px rgba(216,170,69,0.08),
        0 8px 25px rgba(0,0,0,0.2) !important;
}


.container > .card .form-group input::placeholder {
    color: #555b68 !important;
}


/* =========================================================
   BOTÓN CREAR ADMINISTRADOR
   ========================================================= */

.container > .card .btn-primary {
    min-height: 44px;

    padding: 0 22px !important;

    border-radius: 10px !important;

    background:
        linear-gradient(
            135deg,
            #f4c76b,
            #c79532
        ) !important;

    color: #111 !important;

    border: none !important;

    font-weight: 800;

    box-shadow:
        0 8px 25px rgba(216,170,69,0.16);

    transition: .2s ease;
}


.container > .card .btn-primary:hover {
    transform: translateY(-2px);

    background:
        linear-gradient(
            135deg,
            #ffda7b,
            #d9a940
        ) !important;

    box-shadow:
        0 12px 30px rgba(216,170,69,0.28);
}


/* =========================================================
   TABLA DE ADMINISTRADORES
   ========================================================= */

.container > .card .table-container {
    position: relative;
    z-index: 3;

    border-radius: 13px !important;

    border: 1px solid rgba(255,255,255,0.07) !important;

    background: #0b0e14 !important;

    overflow-x: auto;
}


.container > .card .table-container table {
    background: transparent !important;
}


.container > .card .table-container th {
    padding: 16px 14px !important;

    background:
        linear-gradient(
            180deg,
            #11141c,
            #0c0f15
        ) !important;

    color: #676d7a !important;

    font-size: 9px !important;

    letter-spacing: 1px;

    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}


.container > .card .table-container td {
    padding: 17px 14px !important;

    color: #d5d8df !important;

    border-bottom: 1px solid rgba(255,255,255,0.045) !important;

    background: transparent !important;
}


.container > .card .table-container tbody tr {
    transition: .2s ease;
}


.container > .card .table-container tbody tr:hover {
    background:
        linear-gradient(
            90deg,
            rgba(216,170,69,0.045),
            rgba(216,170,69,0.01)
        ) !important;
}


/* =========================================================
   INPUTS DE LA TABLA
   ========================================================= */

.container > .card .table-container input {
    height: 34px !important;

    padding: 0 10px !important;

    border-radius: 8px !important;

    background: #080b11 !important;

    border: 1px solid rgba(255,255,255,0.09) !important;

    color: #ffffff !important;
}


.container > .card .table-container input:focus {
    border-color: rgba(216,170,69,0.55) !important;

    box-shadow:
        0 0 0 2px rgba(216,170,69,0.06);
}


/* =========================================================
   BADGES
   ========================================================= */

.container > .card .badge {
    padding: 6px 10px !important;

    border-radius: 20px !important;

    font-size: 9px !important;

    font-weight: 800;
}


.container > .card .badge-success {
    background: rgba(70,200,130,0.10) !important;

    color: #55c98a !important;

    border: 1px solid rgba(70,200,130,0.12);
}


.container > .card .badge-danger {
    background: rgba(255,80,80,0.10) !important;

    color: #ff7777 !important;

    border: 1px solid rgba(255,80,80,0.12);
}


/* =========================================================
   BOTONES DE TABLA
   ========================================================= */

.container > .card .table-container .btn {
    min-height: 32px;

    padding: 0 11px !important;

    border-radius: 8px !important;

    font-size: 10px !important;

    transition: .2s ease;
}


.container > .card .table-container .btn:hover {
    transform: translateY(-1px);
}


/* =========================================================
   TARJETA FINAL / FLUJO
   ========================================================= */

.container > .card:last-child {
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(216,170,69,0.08),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #141720,
            #0c0f16
        ) !important;
}


.container > .card:last-child strong {
    color: #d8aa45 !important;
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

.container > .card .table-container::-webkit-scrollbar {
    height: 7px;
}


.container > .card .table-container::-webkit-scrollbar-track {
    background: #080b10;
}


.container > .card .table-container::-webkit-scrollbar-thumb {
    background: #343946;

    border-radius: 10px;
}


.container > .card .table-container::-webkit-scrollbar-thumb:hover {
    background: #d8aa45;
}


/* =========================================================
   ANIMACIONES
   ========================================================= */

@keyframes adminFadeUp {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


.container > .header {
    animation: adminFadeUp .45s ease both;
}


.container > .card:nth-of-type(1) {
    animation: adminFadeUp .5s .05s ease both;
}


.container > .card:nth-of-type(2) {
    animation: adminFadeUp .5s .1s ease both;
}


.container > .card:nth-of-type(3) {
    animation: adminFadeUp .5s .15s ease both;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .container {
        padding: 25px !important;
    }

    .container > .header {
        padding: 25px !important;
    }

    .container > .header h1 {
        font-size: 30px !important;
    }

}


@media (max-width: 700px) {

    .container {
        padding: 14px !important;
    }

    .container > .header {
        padding: 22px !important;

        flex-direction: column !important;

        align-items: flex-start !important;

        gap: 20px;

        border-radius: 15px !important;
    }

    .container > .header h1 {
        font-size: 26px !important;
    }

    .container > .header > div:last-child {
        width: 100%;

        display: flex;

        gap: 8px;
    }

    .container > .header > div:last-child .btn {
        flex: 1;
    }

    .container > .card {
        padding: 20px !important;

        border-radius: 15px !important;
    }

    .container > .card .form-group input {
        max-width: 100% !important;
    }

}


@media (max-width: 450px) {

    .container {
        padding: 10px !important;
    }

    .container > .header {
        padding: 18px !important;
    }

    .container > .header h1 {
        font-size: 23px !important;
    }

    .container > .header > div:last-child {
        flex-direction: column;
    }

    .container > .header > div:last-child .btn {
        width: 100%;
    }

    .container > .card {
        padding: 17px !important;
    }

}

/* =========================================================
   MULTIPANEL - NUEVA IDENTIDAD VISUAL VIOLETA
   Este bloque sobrescribe la estética administrativa existente.
   No modifica rutas, lógica, formularios ni funcionalidades.
   ========================================================= */

:root {
    --mp-bg: #090711;
    --mp-bg-2: #0e0a18;
    --mp-panel: #151022;
    --mp-panel-2: #1b142b;
    --mp-border: rgba(164, 92, 255, .20);
    --mp-border-soft: rgba(255,255,255,.075);
    --mp-purple: #9b5cff;
    --mp-purple-2: #6f35d9;
    --mp-purple-light: #c084ff;
    --mp-text: #ffffff;
    --mp-muted: #9992aa;
    --mp-green: #55d88a;
    --mp-red: #ff6b7a;
}

/* ---------- DASHBOARD ADMIN ---------- */

.admin-body {
    background:
        radial-gradient(circle at 78% 0%, rgba(155,92,255,.14), transparent 30%),
        radial-gradient(circle at 20% 100%, rgba(111,53,217,.09), transparent 32%),
        var(--mp-bg) !important;
}

.admin-sidebar {
    background:
        linear-gradient(180deg, #110b1d 0%, #0b0812 100%) !important;
    border-right: 1px solid var(--mp-border) !important;
    box-shadow: 10px 0 40px rgba(0,0,0,.22);
}

.admin-logo {
    color: var(--mp-purple-light) !important;
    border-bottom-color: var(--mp-border-soft) !important;
    text-shadow: 0 0 18px rgba(155,92,255,.35);
}

.profile-icon,
.top-avatar {
    background: linear-gradient(135deg, var(--mp-purple-light), var(--mp-purple-2)) !important;
    color: #fff !important;
    box-shadow: 0 0 22px rgba(155,92,255,.25);
}

.admin-menu a,
.sidebar-bottom a {
    color: #a7a0b5 !important;
}

.admin-menu a:hover,
.admin-menu a.active {
    background: linear-gradient(90deg, rgba(155,92,255,.20), rgba(155,92,255,.06)) !important;
    color: #c084ff !important;
    border: 1px solid rgba(155,92,255,.16);
    box-shadow: inset 3px 0 0 var(--mp-purple);
}

.admin-main {
    background:
        radial-gradient(circle at 80% 0%, rgba(155,92,255,.12), transparent 32%),
        radial-gradient(circle at 0% 100%, rgba(111,53,217,.08), transparent 30%),
        var(--mp-bg) !important;
}

.admin-topbar {
    border-bottom-color: var(--mp-border-soft) !important;
    background: rgba(9,7,17,.72);
    backdrop-filter: blur(12px);
}

.admin-welcome,
.admin-profile span,
.admin-top-user span {
    color: var(--mp-muted) !important;
}

.stat-card,
.admin-panel {
    background:
        linear-gradient(145deg, rgba(27,20,43,.96), rgba(15,11,25,.98)) !important;
    border-color: var(--mp-border) !important;
    box-shadow: 0 16px 40px rgba(0,0,0,.20);
}

.stat-card:hover,
.admin-panel:hover {
    border-color: rgba(155,92,255,.38) !important;
}

.stat-icon,
.activity-icon {
    background: rgba(155,92,255,.13) !important;
    border: 1px solid rgba(155,92,255,.18);
}

.panel-header {
    border-bottom-color: var(--mp-border-soft) !important;
}

.panel-header span {
    color: var(--mp-purple-light) !important;
}

.panel-header button {
    background: linear-gradient(135deg, var(--mp-purple), var(--mp-purple-2)) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 7px 20px rgba(155,92,255,.22);
}

.quick-actions button {
    background: linear-gradient(145deg, #201633, #151022) !important;
    border-color: var(--mp-border) !important;
}

.quick-actions button:hover {
    border-color: var(--mp-purple) !important;
    box-shadow: 0 10px 25px rgba(155,92,255,.16);
}

.quick-actions span {
    color: var(--mp-purple-light);
}

.status-badge.active,
.active-status {
    background: rgba(85,216,138,.12) !important;
    color: var(--mp-green) !important;
}

/* ---------- PANTALLAS CON .sidebar / .main-content ---------- */

.admin-layout {
    background:
        radial-gradient(circle at 80% 0%, rgba(155,92,255,.13), transparent 30%),
        var(--mp-bg) !important;
    min-height: 100vh;
}

.admin-layout .sidebar {
    background:
        linear-gradient(180deg, #110b1d 0%, #0b0812 100%) !important;
    border-right: 1px solid var(--mp-border) !important;
    box-shadow: 10px 0 40px rgba(0,0,0,.20);
}

.admin-layout .sidebar .logo {
    color: var(--mp-purple-light) !important;
    text-shadow: 0 0 18px rgba(155,92,255,.32);
}

.admin-layout .admin-info {
    padding: 14px;
    border: 1px solid var(--mp-border-soft);
    border-radius: 14px;
    background: rgba(155,92,255,.06);
}

.admin-layout .admin-info strong {
    color: #fff;
}

.admin-layout .admin-info span {
    color: var(--mp-purple-light) !important;
    opacity: 1;
    font-weight: 700;
}

.admin-layout .sidebar nav a,
.admin-layout .sidebar-bottom a {
    color: #aaa2b9 !important;
    border: 1px solid transparent;
    transition: .2s ease;
}

.admin-layout .sidebar nav a:hover,
.admin-layout .sidebar nav a.active,
.admin-layout .sidebar-bottom a:hover {
    background: linear-gradient(90deg, rgba(155,92,255,.20), rgba(155,92,255,.05)) !important;
    color: #fff !important;
    border-color: rgba(155,92,255,.18);
    box-shadow: inset 3px 0 0 var(--mp-purple);
}

.admin-layout .main-content {
    background:
        radial-gradient(circle at 90% 0%, rgba(155,92,255,.11), transparent 30%),
        var(--mp-bg) !important;
}

.page-header h1 {
    color: #fff;
}

.section-label {
    color: var(--mp-purple-light) !important;
}

.panel {
    background:
        linear-gradient(145deg, rgba(27,20,43,.96), rgba(14,10,24,.98)) !important;
    border-color: var(--mp-border) !important;
    box-shadow: 0 18px 45px rgba(0,0,0,.20);
}

.counter {
    color: var(--mp-purple-light);
    opacity: 1;
    background: rgba(155,92,255,.10);
    border: 1px solid rgba(155,92,255,.18);
    padding: 8px 12px;
    border-radius: 999px;
}

.form-group input,
.actions input,
.table-container input {
    background: #0c0913 !important;
    border-color: rgba(155,92,255,.18) !important;
}

.form-group input:focus,
.table-container input:focus {
    border-color: var(--mp-purple) !important;
    box-shadow: 0 0 0 3px rgba(155,92,255,.10) !important;
}

.btn,
.btn-primary,
.admin-btn,
.hero-button,
.promotion > button,
.btn-add,
.btn-remove {
    transition: all .2s ease !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--mp-purple-light), var(--mp-purple-2)) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(155,92,255,.24);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d09aff, var(--mp-purple)) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(155,92,255,.32);
}

.btn:hover {
    border-color: var(--mp-purple) !important;
    color: var(--mp-purple-light) !important;
}

.btn-add {
    background: linear-gradient(135deg, #9b5cff, #6732ca) !important;
    color: #fff !important;
    box-shadow: 0 5px 16px rgba(155,92,255,.18);
}

.btn-remove {
    background: rgba(255,107,122,.10) !important;
    color: #ff8491 !important;
    border: 1px solid rgba(255,107,122,.20) !important;
}

.btn-add:hover,
.btn-remove:hover {
    transform: translateY(-2px);
}

.table-header {
    border-bottom-color: var(--mp-border-soft) !important;
}

.table-row {
    border-bottom-color: var(--mp-border-soft) !important;
}

.fichas,
.chips-value strong {
    color: var(--mp-purple-light) !important;
}

.status {
    background: rgba(85,216,138,.12) !important;
    color: var(--mp-green) !important;
}

/* ---------- ADMINISTRADORES ---------- */

.admin-page {
    background:
        radial-gradient(circle at 15% 0%, rgba(155,92,255,.13), transparent 30%),
        radial-gradient(circle at 90% 20%, rgba(111,53,217,.10), transparent 35%),
        var(--mp-bg) !important;
}

.admin-page-header,
.container > .header {
    background:
        linear-gradient(135deg, rgba(30,21,48,.96), rgba(14,10,23,.98)) !important;
    border-color: var(--mp-border) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.header-kicker,
.card-kicker {
    color: var(--mp-purple-light) !important;
}

.admin-btn-primary {
    background: linear-gradient(135deg, var(--mp-purple-light), var(--mp-purple-2)) !important;
    color: #fff !important;
    box-shadow: 0 8px 25px rgba(155,92,255,.25);
}

.admin-btn-secondary {
    background: rgba(155,92,255,.06) !important;
    border-color: rgba(155,92,255,.20) !important;
}

.admin-btn-secondary:hover {
    color: #fff !important;
    background: rgba(155,92,255,.14) !important;
}

.admin-card,
.card {
    background:
        linear-gradient(145deg, rgba(27,20,43,.97), rgba(14,10,24,.98)) !important;
    border-color: var(--mp-border) !important;
}

.admin-card::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(155,92,255,.70),
        transparent
    ) !important;
}

.card-title-icon.gold {
    background: rgba(155,92,255,.13) !important;
    border-color: rgba(155,92,255,.20) !important;
    color: var(--mp-purple-light) !important;
}

.info-content {
    border-left-color: var(--mp-purple) !important;
    background: rgba(155,92,255,.045) !important;
}

.input-group input {
    background: #0c0913 !important;
    border-color: rgba(155,92,255,.18) !important;
}

.input-group input:focus {
    border-color: rgba(155,92,255,.70) !important;
    box-shadow: 0 0 0 3px rgba(155,92,255,.10) !important;
}

.total-badge {
    background: rgba(155,92,255,.10) !important;
    border-color: rgba(155,92,255,.20) !important;
}

.total-badge strong,
.id-badge {
    color: var(--mp-purple-light) !important;
}

.admin-table-wrapper,
.table-container {
    border-color: rgba(155,92,255,.14) !important;
}

.admin-table th,
.table-container th {
    background: #0d0915 !important;
    border-bottom-color: rgba(155,92,255,.16) !important;
}

.admin-table tbody tr:hover,
.table-container tbody tr:hover {
    background: rgba(155,92,255,.055) !important;
}

.user-avatar {
    background: linear-gradient(135deg, var(--mp-purple-light), var(--mp-purple-2)) !important;
    color: #fff !important;
}

.role-badge {
    background: rgba(155,92,255,.10) !important;
    border: 1px solid rgba(155,92,255,.18);
    color: #c4a7ed !important;
}

.role-badge.superadmin {
    background: rgba(155,92,255,.15) !important;
    color: #d2adff !important;
    border-color: rgba(155,92,255,.30) !important;
}

.chips-value strong {
    color: var(--mp-purple-light) !important;
}

/* ---------- BADGE DE ID ---------- */

.id-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 7px;
    background: rgba(155,92,255,.08);
    border: 1px solid rgba(155,92,255,.16);
    color: #c8a8ef !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .3px;
}

/* ---------- INPUTS / BOTONES GENERALES DE ADMIN ---------- */

.admin-form .btn-primary,
.container > .card .btn-primary {
    background: linear-gradient(135deg, var(--mp-purple-light), var(--mp-purple-2)) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 8px 22px rgba(155,92,255,.22);
}

.container > .card .btn-primary:hover {
    box-shadow: 0 12px 28px rgba(155,92,255,.32);
}

.table-container .btn {
    border-color: rgba(155,92,255,.18);
}

.table-container .btn:hover {
    border-color: var(--mp-purple) !important;
    color: #fff !important;
}

/* ---------- SCROLLBAR ---------- */

.admin-table-wrapper::-webkit-scrollbar,
.table-container::-webkit-scrollbar {
    height: 7px;
    width: 7px;
}

.admin-table-wrapper::-webkit-scrollbar-track,
.table-container::-webkit-scrollbar-track {
    background: #08060d;
}

.admin-table-wrapper::-webkit-scrollbar-thumb,
.table-container::-webkit-scrollbar-thumb {
    background: #5f3b91;
    border-radius: 10px;
}

.admin-table-wrapper::-webkit-scrollbar-thumb:hover,
.table-container::-webkit-scrollbar-thumb:hover {
    background: var(--mp-purple);
}

/* =========================================================
   RESPONSIVE REAL - CELULAR
   ========================================================= */

@media (max-width: 700px) {

    /* Dashboard con admin-sidebar */
    .admin-sidebar {
        width: 100% !important;
        min-height: auto !important;
        height: auto !important;
        position: relative !important;
        border-right: none !important;
        border-bottom: 1px solid var(--mp-border) !important;
        z-index: 20;
    }

    .admin-logo {
        padding: 17px 18px !important;
        text-align: center;
    }

    .admin-profile {
        padding: 12px 16px !important;
        justify-content: center;
    }

    .admin-menu {
        flex-direction: row !important;
        overflow-x: auto;
        padding: 10px !important;
        gap: 7px !important;
        -webkit-overflow-scrolling: touch;
    }

    .admin-menu a {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 10px 12px !important;
        font-size: 12px !important;
    }

    .sidebar-bottom {
        display: none !important;
    }

    .admin-main {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .admin-topbar {
        min-height: 72px !important;
        padding: 12px 16px !important;
    }

    .admin-topbar h1 {
        font-size: 20px !important;
    }

    .admin-top-user > div {
        display: none;
    }

    .stats-grid {
        padding: 16px !important;
        grid-template-columns: 1fr !important;
    }

    .admin-content-grid {
        padding: 8px 16px !important;
    }

    .recent-users {
        margin: 10px 16px 20px !important;
    }

    /* Pantallas con .sidebar */
    .admin-layout {
        display: flex !important;
        flex-direction: column !important;
    }

    .admin-layout .sidebar {
        width: 100% !important;
        min-width: 0 !important;
        padding: 14px !important;
        position: relative !important;
        border-right: none !important;
        border-bottom: 1px solid var(--mp-border) !important;
    }

    .admin-layout .sidebar .logo {
        margin-bottom: 14px !important;
        text-align: center;
    }

    .admin-layout .admin-info {
        margin-bottom: 12px !important;
    }

    .admin-layout .sidebar nav {
        flex-direction: row !important;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .admin-layout .sidebar nav a {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 12px !important;
        padding: 10px 12px !important;
    }

    .admin-layout .sidebar-bottom {
        display: none;
    }

    .admin-layout .main-content {
        padding: 20px 14px !important;
        width: 100%;
    }

    .page-header {
        margin-bottom: 18px !important;
    }

    .page-header h1 {
        font-size: 27px !important;
    }

    .panel {
        padding: 17px !important;
        border-radius: 14px !important;
    }

    .panel-header {
        align-items: flex-start !important;
        gap: 12px;
        flex-wrap: wrap;
    }

    .user-form,
    .admin-form {
        grid-template-columns: 1fr !important;
        display: grid !important;
    }

    .form-group input,
    .input-group input {
        width: 100% !important;
        max-width: none !important;
    }

    .user-form .btn-primary,
    .admin-form .btn-primary {
        width: 100%;
    }

    /* Tablas: desplazamiento horizontal sin romper la pantalla */
    .users-table,
    .admin-table-wrapper,
    .table-container {
        width: 100%;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .table-header,
    .table-row {
        min-width: 850px;
    }

    .admin-table,
    .table-container table {
        min-width: 850px !important;
    }

    .actions {
        flex-wrap: nowrap !important;
    }

    .actions form {
        flex-shrink: 0;
    }

    .container {
        padding: 14px !important;
    }

    .container > .header {
        padding: 20px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .container > .header > div:last-child {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }

    .container > .header > div:last-child .btn {
        flex: 1;
        min-width: 120px;
    }

    .container > .card {
        padding: 18px !important;
    }

    .admin-container {
        padding: 14px !important;
    }

    .admin-page-header {
        padding: 20px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .header-title h1 {
        font-size: 26px !important;
    }

    .header-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .header-actions .admin-btn {
        flex: 1;
        min-width: 120px;
    }

    .admin-stats {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 450px) {

    .admin-topbar {
        padding: 10px 12px !important;
    }

    .admin-topbar h1 {
        font-size: 18px !important;
    }

    .stats-grid {
        padding: 12px !important;
    }

    .admin-content-grid {
        padding: 6px 12px !important;
    }

    .recent-users {
        margin: 8px 12px 16px !important;
    }

    .admin-layout .main-content {
        padding: 16px 10px !important;
    }

    .page-header h1 {
        font-size: 24px !important;
    }

    .panel {
        padding: 14px !important;
    }

    .counter {
        width: 100%;
        text-align: center;
    }

    .container {
        padding: 9px !important;
    }

    .container > .header {
        padding: 16px !important;
    }

    .container > .header h1 {
        font-size: 22px !important;
    }

    .container > .header > div:last-child {
        flex-direction: column;
    }

    .container > .header > div:last-child .btn {
        width: 100%;
    }

    .admin-page-header {
        padding: 17px !important;
    }

    .header-actions {
        flex-direction: column;
    }

    .header-actions .admin-btn {
        width: 100%;
    }
}


/* =========================================================
   MULTIPANEL V2 - ELIMINAR DORADO / PALETA VIOLETA TOTAL
   ========================================================= */

/* Todo el panel administrativo queda sin dorados */
.admin-body,
.admin-page,
.admin-main,
.admin-layout .main-content,
.admin-layout .sidebar,
.admin-sidebar {
    --gold: var(--mp-purple);
}

/* Sustituciones visuales de colores dorados que puedan quedar
   en clases heredadas del CSS anterior. */
.admin-body [style*="#d8aa45"],
.admin-body [style*="#f4c76b"],
.admin-body [style*="#ffc857"],
.admin-body [style*="#c79532"],
.admin-page [style*="#d8aa45"],
.admin-page [style*="#f4c76b"],
.admin-page [style*="#ffc857"],
.admin-page [style*="#c79532"] {
    color: var(--mp-purple-light) !important;
    border-color: rgba(155,92,255,.35) !important;
}

/* Elementos heredados que todavía usan clases doradas */
.gold,
.gold-text,
.gold-accent,
.text-gold {
    color: var(--mp-purple-light) !important;
}

.bg-gold,
.gold-bg {
    background: linear-gradient(135deg, var(--mp-purple-light), var(--mp-purple-2)) !important;
    color: #fff !important;
}

.border-gold {
    border-color: rgba(155,92,255,.35) !important;
}

/* Todas las variantes de botones administrativos */
.admin-btn-primary,
.btn-primary,
button.btn-primary,
a.btn-primary,
.admin-form button,
.header-actions .admin-btn-primary {
    background: linear-gradient(135deg, #c084ff 0%, #9b5cff 48%, #6732ca 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow:
        0 8px 24px rgba(155,92,255,.25),
        inset 0 1px 0 rgba(255,255,255,.18);
}

.admin-btn-primary:hover,
.btn-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover {
    background: linear-gradient(135deg, #d5a3ff 0%, #b56cff 48%, #7940e5 100%) !important;
    color: #fff !important;
    box-shadow:
        0 12px 32px rgba(155,92,255,.35),
        inset 0 1px 0 rgba(255,255,255,.22);
}

/* Botones secundarios */
.admin-btn-secondary,
.btn:not(.btn-primary):not(.btn-danger) {
    background: rgba(155,92,255,.07) !important;
    border-color: rgba(155,92,255,.22) !important;
    color: #d9c8eb !important;
}

.admin-btn-secondary:hover,
.btn:not(.btn-primary):not(.btn-danger):hover {
    background: rgba(155,92,255,.15) !important;
    border-color: rgba(155,92,255,.55) !important;
    color: #fff !important;
}

/* Botones de acciones rápidas */
.quick-actions button {
    background: linear-gradient(145deg, #211534, #151021) !important;
    border: 1px solid rgba(155,92,255,.18) !important;
    color: #fff !important;
}

.quick-actions button:hover {
    background: linear-gradient(145deg, #2c1b47, #1b1230) !important;
    border-color: rgba(192,132,255,.65) !important;
    box-shadow: 0 10px 28px rgba(155,92,255,.22) !important;
}

/* Fichas: icono/valor con identidad violeta */
.fichas,
.chips-value strong,
.chip-value,
.balance-value {
    color: #c084ff !important;
}

/* Iconos que tenían fondo dorado */
.stat-icon,
.card-title-icon,
.card-title-icon.gold,
.activity-icon {
    background: rgba(155,92,255,.12) !important;
    border-color: rgba(155,92,255,.20) !important;
}

/* Foco de inputs */
input:focus,
select:focus,
textarea:focus {
    border-color: rgba(155,92,255,.70) !important;
    box-shadow: 0 0 0 3px rgba(155,92,255,.10) !important;
}

/* =========================================================
   ICONO DE FICHAS
   Usamos emoji para evitar cuadrados vacíos de iconos/fuentes.
   ========================================================= */

.chips-icon::before,
.fichas-icon::before,
.coin-icon::before {
    content: "🪙";
}

.chips-icon,
.fichas-icon,
.coin-icon {
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif !important;
}

/* Si el elemento es un icono vacío dentro de tarjetas de fichas,
   mostramos una ficha sin depender de Font Awesome/otra fuente. */
.stat-card .fichas-icon,
.admin-stat-card .fichas-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

/* Clases comunes que puedan contener el icono de fichas */
.icon-fichas::before,
.icon-chips::before,
.fa-coins::before,
.fa-coins::after {
    content: "🪙" !important;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif !important;
}

/* Evita que el icono de fuente anterior quede como cuadrado */
.fa,
.fas,
.far,
.fab {
    font-family: "Segoe UI Symbol", "Segoe UI Emoji", sans-serif;
}

/* Mantener emojis reales visibles */
.emoji,
[class*="emoji"] {
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif !important;
}

/* =========================================================
   ACENTOS Y HOVERS FINALES
   ========================================================= */

a:hover {
    color: #c084ff;
}

.admin-table tbody tr:hover,
.table-container tbody tr:hover {
    background: rgba(155,92,255,.055) !important;
}

.total-badge {
    box-shadow: inset 0 0 20px rgba(155,92,255,.04);
}

.status-badge.active,
.active-status,
.status {
    border: 1px solid rgba(85,216,138,.16);
}

.status-badge.inactive,
.inactive-status {
    background: rgba(255,107,122,.10) !important;
    color: #ff8491 !important;
    border: 1px solid rgba(255,107,122,.16);
}


/* =========================================================
   MULTIPANEL V3 - OVERRIDE FINAL
   Elimina los restos dorados de ADMIN y CAJERO.
   No modifica funciones, rutas, formularios ni lógica.
   ========================================================= */

/* ---------- ADMIN: ESTADÍSTICAS ---------- */

.admin-main .stat-icon {
    background: linear-gradient(145deg, #b66cff, #6d35d6) !important;
    color: #ffffff !important;
    border-color: rgba(210,170,255,.30) !important;
    box-shadow:
        0 7px 20px rgba(111,53,217,.28),
        inset 0 1px 0 rgba(255,255,255,.22) !important;
}

.admin-main .stat-icon::before {
    background: rgba(255,255,255,.16) !important;
}

.admin-main .stat-icon .clean-icon {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* ---------- ADMIN: ACTIVIDAD ---------- */

.admin-main .activity-icon {
    background: linear-gradient(145deg, #9b5cff, #5f2db8) !important;
    color: #ffffff !important;
    border-color: rgba(192,132,255,.30) !important;
    box-shadow:
        0 5px 16px rgba(111,53,217,.25),
        inset 0 1px 0 rgba(255,255,255,.20) !important;
}

.admin-main .activity-icon .clean-icon {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* ---------- ADMIN: ACCIONES RÁPIDAS ---------- */

.admin-main .quick-action-button {
    color: #ffffff !important;
}

.admin-main .quick-action-button:hover {
    color: #d7b6ff !important;
}

.admin-main .quick-action-button > span {
    background: linear-gradient(145deg, #c084ff, #7738dc) !important;
    color: #ffffff !important;
    border-color: rgba(210,170,255,.30) !important;
    box-shadow:
        0 7px 18px rgba(111,53,217,.30),
        inset 0 1px 0 rgba(255,255,255,.24) !important;
}

.admin-main .quick-action-button > span .clean-icon {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.admin-main .quick-action-button:hover > span {
    background: linear-gradient(145deg, #d09aff, #914cff) !important;
    box-shadow:
        0 10px 25px rgba(155,92,255,.38),
        0 0 16px rgba(192,132,255,.18) !important;
}

.admin-main .quick-action-button:hover > span .clean-icon {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* ---------- ADMIN: BOTÓN "VER TODO" ---------- */

.admin-main .panel-button {
    color: #d0a9ff !important;
    background: rgba(155,92,255,.10) !important;
    border: 1px solid rgba(155,92,255,.30) !important;
    box-shadow: 0 5px 15px rgba(111,53,217,.10);
}

.admin-main .panel-button:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #9b5cff, #6732ca) !important;
    border-color: transparent !important;
    box-shadow: 0 8px 22px rgba(155,92,255,.28) !important;
}

/* ---------- ADMIN: NOTIFICACIONES ---------- */

.admin-main .notification {
    background: rgba(155,92,255,.11) !important;
    color: #d4b2ff !important;
    border: 1px solid rgba(155,92,255,.25) !important;
    box-shadow: 0 5px 18px rgba(111,53,217,.12);
}

.admin-main .notification:hover {
    background: rgba(155,92,255,.20) !important;
}

.admin-main .notification .clean-icon {
    stroke: #d4b2ff !important;
    color: #d4b2ff !important;
}

/* ---------- ADMIN: AVATAR ---------- */

.admin-main .top-avatar,
.admin-main .profile-icon {
    background: linear-gradient(145deg, #d09aff, #7738dc) !important;
    color: #ffffff !important;
    border: 1px solid rgba(220,190,255,.32);
    box-shadow:
        0 6px 18px rgba(111,53,217,.30),
        inset 0 1px 0 rgba(255,255,255,.25) !important;
}

/* ---------- ADMIN: SIDEBAR ICONOS ---------- */

.admin-sidebar .admin-menu a:hover span,
.admin-sidebar .sidebar-bottom a:hover span,
.admin-sidebar .admin-menu a.active span,
.admin-sidebar .sidebar-bottom a.active span {
    background: rgba(155,92,255,.18) !important;
    color: #d09aff !important;
}

.admin-sidebar .admin-menu a.active .clean-icon,
.admin-sidebar .sidebar-bottom a.active .clean-icon {
    stroke: #ffffff !important;
    color: #ffffff !important;
}

.admin-sidebar .admin-menu a:hover .clean-icon,
.admin-sidebar .sidebar-bottom a:hover .clean-icon {
    stroke: #d09aff !important;
    color: #d09aff !important;
}

.admin-sidebar .admin-logo .clean-icon {
    color: #c084ff !important;
    stroke: #c084ff !important;
    filter: drop-shadow(0 0 7px rgba(155,92,255,.30)) !important;
}

/* ---------- ADMIN: TEXTOS DE ACENTO ---------- */

.admin-main .panel-header > div > span,
.admin-main .admin-welcome,
.admin-main .section-label,
.admin-main .header-kicker {
    color: #c084ff !important;
}

.admin-main .stat-card small {
    color: #aaa0bb !important;
}

/* ---------- CAJERO: TODA LA UI ---------- */

.admin-layout .cashier-card,
.admin-layout .quick-action,
.admin-layout .operation-panel,
.admin-layout .users-panel,
.admin-layout .cashier-header {
    border-color: rgba(155,92,255,.20) !important;
}

.admin-layout .cashier-card {
    background: linear-gradient(145deg, #1b142b, #100b1a) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,.20);
}

.admin-layout .cashier-card .icon {
    background: linear-gradient(145deg, #b66cff, #6d35d6) !important;
    color: #ffffff !important;
    border-color: rgba(210,170,255,.30) !important;
    box-shadow: 0 7px 18px rgba(111,53,217,.25);
}

.admin-layout .cashier-card .value {
    color: #ffffff !important;
}

.admin-layout .cashier-card .label,
.admin-layout .cashier-welcome p {
    color: #a9a0b7 !important;
}

.admin-layout .cashier-card .status-active {
    color: #55d88a !important;
}

/* Cajero acciones */
.admin-layout .quick-action {
    background: linear-gradient(145deg, #211633, #151021) !important;
    border: 1px solid rgba(155,92,255,.18) !important;
    color: #ffffff !important;
}

.admin-layout .quick-action:hover {
    border-color: rgba(192,132,255,.60) !important;
    background: linear-gradient(145deg, #2c1b47, #1a112c) !important;
    box-shadow: 0 10px 28px rgba(155,92,255,.22) !important;
}

.admin-layout .quick-icon {
    background: linear-gradient(145deg, #c084ff, #7738dc) !important;
    color: #ffffff !important;
    border-color: rgba(210,170,255,.30) !important;
    box-shadow: 0 7px 18px rgba(111,53,217,.28) !important;
}

/* Cajero formulario */
.admin-layout .operation-panel {
    background: linear-gradient(145deg, #1b142b, #100b1a) !important;
    box-shadow: 0 18px 45px rgba(0,0,0,.20);
}

.admin-layout .operation-panel select,
.admin-layout .operation-panel input {
    background: #0c0913 !important;
    color: #ffffff !important;
    border-color: rgba(155,92,255,.20) !important;
}

.admin-layout .operation-panel select:focus,
.admin-layout .operation-panel input:focus {
    border-color: #9b5cff !important;
    box-shadow: 0 0 0 3px rgba(155,92,255,.10) !important;
}

/* Botones de operación cajero */
.admin-layout .operation-buttons button,
.admin-layout .operation-buttons .btn,
.admin-layout .logout-btn {
    background: linear-gradient(135deg, #c084ff, #6f35d9) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 8px 22px rgba(155,92,255,.24) !important;
}

.admin-layout .operation-buttons button:hover,
.admin-layout .operation-buttons .btn:hover,
.admin-layout .logout-btn:hover {
    background: linear-gradient(135deg, #d09aff, #8c49f0) !important;
    color: #ffffff !important;
}

/* Cajero sidebar */
.admin-layout .sidebar nav a.active,
.admin-layout .sidebar nav a:hover {
    background: linear-gradient(90deg, rgba(155,92,255,.20), rgba(155,92,255,.05)) !important;
    color: #ffffff !important;
    border-color: rgba(155,92,255,.18) !important;
}

.admin-layout .sidebar nav a.active::before {
    background: #9b5cff !important;
}

/* =========================================================
   FICHAS: EMOJI REAL
   ========================================================= */

/* Oculta el SVG de ficha del dashboard Admin y coloca una
   ficha emoji donde corresponde, sin tocar el HTML funcional. */
.admin-main .stat-card:has(.clean-icon) .stat-icon:has(.clean-icon) {
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif !important;
}

/* En la tarjeta de "Fichas en circulación", el SVG queda
   oculto y el emoji aparece centrado. */
.admin-main .stat-card .stat-icon:has(.clean-icon) .clean-icon {
    display: none !important;
}

/* Todas las cajas de estadísticas usan emoji legibles; el
   contenido visual concreto queda definido por el HTML si existe. */
.admin-main .stat-icon::after {
    content: "🪙";
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif !important;
    font-size: 25px;
    line-height: 1;
    position: relative;
    z-index: 3;
}

/* En actividad mantenemos los iconos SVG, no los reemplazamos. */
.admin-main .activity-icon .clean-icon {
    display: block !important;
}

/* Fichas en cajero */
.admin-layout .cashier-card .icon {
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif !important;
}

/* =========================================================
   CERO DORADO EN ELEMENTOS ADMIN/CAJERO CONOCIDOS
   ========================================================= */

.admin-main .clean-icon,
.admin-sidebar .clean-icon,
.admin-layout .clean-icon {
    color: #d0a9ff;
}

.admin-main a,
.admin-main button,
.admin-sidebar a,
.admin-layout a,
.admin-layout button {
    --gold: #9b5cff;
}
/* =========================================================
   MULTIPANEL - CAJEROS FINAL VISUAL OVERRIDE
   SOLO PRESENTACION - NO MODIFICA RUTAS, FUNCIONES NI LOGICA
   ========================================================= */

.admin-layout {
    --c-purple: #9b5cff;
    --c-purple-light: #d0a9ff;
    --c-purple-soft: rgba(155, 92, 255, .14);
    --c-purple-border: rgba(155, 92, 255, .24);
    --c-panel: #171126;
    --c-panel-2: #100b1b;
    --c-text: #f7f3ff;
    --c-muted: #a99fba;
    --c-green: #55d88a;
    --c-red: #ff7f91;
}

/* Fondo y contenido */
.admin-layout .main-content {
    background:
        radial-gradient(circle at 90% 0%, rgba(155,92,255,.16), transparent 32%),
        radial-gradient(circle at 20% 20%, rgba(111,53,217,.07), transparent 28%),
        #0b0812 !important;
    color: var(--c-text) !important;
}

/* Sidebar */
.admin-layout .sidebar {
    background: linear-gradient(180deg, #130c20 0%, #0b0711 100%) !important;
    border-right: 1px solid var(--c-purple-border) !important;
}

.admin-layout .sidebar .logo {
    color: var(--c-purple-light) !important;
    text-shadow: 0 0 20px rgba(155,92,255,.28);
}

.admin-layout .admin-info {
    background: linear-gradient(145deg, rgba(155,92,255,.12), rgba(155,92,255,.035)) !important;
    border: 1px solid rgba(155,92,255,.20) !important;
}

.admin-layout .admin-info strong {
    color: #ffffff !important;
}

.admin-layout .admin-info span {
    color: var(--c-purple-light) !important;
}

.admin-layout .sidebar nav a,
.admin-layout .sidebar-bottom a {
    color: #b8aec7 !important;
}

.admin-layout .sidebar nav a:hover,
.admin-layout .sidebar nav a.active,
.admin-layout .sidebar-bottom a:hover {
    background: linear-gradient(90deg, rgba(155,92,255,.22), rgba(155,92,255,.055)) !important;
    color: #ffffff !important;
    border-color: rgba(155,92,255,.22) !important;
    box-shadow: inset 3px 0 0 #9b5cff, 0 6px 20px rgba(155,92,255,.08);
}

/* Encabezado */
.admin-layout .page-header {
    padding: 26px 28px;
    margin-bottom: 24px;
    border: 1px solid rgba(155,92,255,.16);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(30,20,48,.96), rgba(13,9,22,.98));
    box-shadow: 0 18px 45px rgba(0,0,0,.22);
}

.admin-layout .page-header h1 {
    color: #ffffff !important;
}

.admin-layout .page-header p {
    color: var(--c-muted) !important;
}

.admin-layout .section-label {
    color: var(--c-purple-light) !important;
}

/* Paneles: nada de contenido negro que se pierda */
.admin-layout .panel {
    background: linear-gradient(145deg, #1d1530 0%, #110c1c 100%) !important;
    border: 1px solid rgba(155,92,255,.20) !important;
    box-shadow: 0 18px 45px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.025);
    color: var(--c-text) !important;
}

.admin-layout .panel-header {
    border-bottom: 1px solid rgba(155,92,255,.14) !important;
}

.admin-layout .panel-header h2,
.admin-layout .panel h2,
.admin-layout .panel h3,
.admin-layout .panel strong {
    color: #ffffff !important;
}

.admin-layout .panel p {
    color: #c1b7cf !important;
}

/* Saldo */
.admin-layout .panel:first-of-type > div[style*="font-size: 32px"] {
    color: #ffffff !important;
    background: linear-gradient(90deg, rgba(155,92,255,.08), transparent);
    border-radius: 12px;
    margin: 0 12px;
}

.admin-layout .panel:first-of-type > div[style*="font-size: 32px"]::first-letter {
    filter: drop-shadow(0 0 7px rgba(255,190,70,.35));
}

/* Contador */
.admin-layout .counter {
    color: #e5d5ff !important;
    background: rgba(155,92,255,.12) !important;
    border: 1px solid rgba(155,92,255,.24) !important;
    border-radius: 999px;
    padding: 8px 13px;
    font-weight: 700;
}

/* Formulario crear cajero */
.admin-layout .form-group label {
    color: #d6cde0 !important;
}

.admin-layout .form-group input,
.admin-layout .actions input {
    background: #0e0a16 !important;
    color: #ffffff !important;
    border: 1px solid rgba(155,92,255,.24) !important;
}

.admin-layout .form-group input::placeholder,
.admin-layout .actions input::placeholder {
    color: #776c87 !important;
}

.admin-layout .form-group input:focus,
.admin-layout .actions input:focus {
    border-color: #a96cff !important;
    box-shadow: 0 0 0 3px rgba(155,92,255,.12) !important;
}

.admin-layout .btn-primary {
    background: linear-gradient(135deg, #c084ff, #7135d6) !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: 0 9px 24px rgba(155,92,255,.25);
}

/* Tabla */
.admin-layout .users-table {
    overflow-x: auto;
}

.admin-layout .table-header,
.admin-layout .table-row {
    grid-template-columns: minmax(150px, 1.15fr) 80px minmax(110px, .8fr) 100px minmax(360px, 2.7fr);
}

.admin-layout .table-header {
    background: rgba(155,92,255,.055);
    border-radius: 10px 10px 0 0;
    color: #bcaed0 !important;
}

.admin-layout .table-row {
    min-height: 92px;
    color: #eee8f5 !important;
    border-bottom: 1px solid rgba(155,92,255,.10) !important;
    transition: background .18s ease, transform .18s ease;
}

.admin-layout .table-row:hover {
    background: rgba(155,92,255,.055);
}

.admin-layout .table-row > span {
    color: #e9e1f2 !important;
}

.admin-layout .table-row > span strong {
    color: #ffffff !important;
}

/* ID */
.admin-layout .table-row > span:nth-child(2) {
    color: #c9a8f5 !important;
    font-weight: 800;
}

/* Fichas */
.admin-layout .table-row > span:nth-child(3) {
    color: #f1e9ff !important;
    font-weight: 700;
}

.admin-layout .table-row > span:nth-child(3) strong {
    color: #d0a9ff !important;
    font-size: 15px;
}

/* Estado */
.admin-layout .status {
    background: rgba(85,216,138,.12) !important;
    border: 1px solid rgba(85,216,138,.20) !important;
    color: #70e99f !important;
    padding: 6px 10px;
    font-weight: 800;
}

/* Acciones: mismo orden, mejor acomodadas */
.admin-layout .actions {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

.admin-layout .actions > form:first-child {
    display: grid !important;
    grid-template-columns: 125px auto auto;
    gap: 6px !important;
    align-items: center;
    width: auto;
}

.admin-layout .actions > form:first-child input {
    width: 125px !important;
    height: 36px;
}

.admin-layout .actions > form:first-child .btn-add,
.admin-layout .actions > form:first-child .btn-remove,
.admin-layout .actions > a.btn-add,
.admin-layout .actions > form:not(:first-child) .btn-add,
.admin-layout .actions > form:not(:first-child) .btn-remove {
    min-height: 36px;
    white-space: nowrap;
}

/* Dar fichas */
.admin-layout .actions .btn-add {
    background: linear-gradient(135deg, #b66cff, #7135d6) !important;
    border: 1px solid rgba(208,169,255,.22) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(155,92,255,.18);
}

/* Quitar / desactivar */
.admin-layout .actions .btn-remove {
    background: rgba(255,107,122,.10) !important;
    border: 1px solid rgba(255,107,122,.22) !important;
    color: #ff8d9d !important;
}

/* Operar: mismo lugar, pero más destacado */
.admin-layout .actions > a.btn-add {
    background: linear-gradient(135deg, #c084ff, #7a3bdd) !important;
    box-shadow: 0 7px 20px rgba(155,92,255,.26);
}

.admin-layout .actions .btn-add:hover,
.admin-layout .actions .btn-remove:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

/* Cambiar PIN */
.admin-layout .actions > form:not(:first-child) {
    display: flex !important;
    align-items: center;
    gap: 6px !important;
}

.admin-layout .actions > form:not(:first-child) input[type="password"] {
    width: 115px !important;
    height: 36px;
}

/* Iconos de ficha siempre visibles */
.admin-layout .ficha-icon,
.admin-layout .chips-icon,
.admin-layout .coin-icon {
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif !important;
}

/* Texto general para evitar zonas oscuras */
.admin-layout label,
.admin-layout input,
.admin-layout button,
.admin-layout a,
.admin-layout span,
.admin-layout p,
.admin-layout h1,
.admin-layout h2,
.admin-layout h3,
.admin-layout strong {
    text-shadow: none;
}

/* Estado vacío */
.admin-layout .empty-state {
    background: linear-gradient(145deg, rgba(155,92,255,.07), rgba(155,92,255,.025));
    border: 1px dashed rgba(155,92,255,.18);
    border-radius: 14px;
    color: #d7cde3 !important;
}

.admin-layout .empty-state h3 {
    color: #ffffff !important;
}

.admin-layout .empty-state p {
    color: #aaa0b7 !important;
}

/* Flujo de distribución */
.admin-layout .panel:last-child p {
    padding: 10px 14px;
    margin: 7px 0;
    border-radius: 10px;
    background: rgba(155,92,255,.055);
    border-left: 3px solid rgba(155,92,255,.45);
    color: #d6cce2 !important;
}

.admin-layout .panel:last-child p strong {
    color: #d0a9ff !important;
}

/* Responsive */
@media (max-width: 1100px) {
    .admin-layout .main-content {
        padding: 28px;
    }

    .admin-layout .table-header,
    .admin-layout .table-row {
        grid-template-columns: 150px 70px 100px 90px 520px;
        min-width: 970px;
    }

    .admin-layout .users-table {
        overflow-x: auto;
        padding-bottom: 5px;
    }
}

@media (max-width: 700px) {
    .admin-layout .main-content {
        padding: 18px 12px;
    }

    .admin-layout .page-header {
        padding: 20px;
    }

    .admin-layout .page-header h1 {
        font-size: 30px;
    }

    .admin-layout .panel {
        padding: 18px;
    }

    .admin-layout .user-form {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-layout .form-group input {
        width: 100% !important;
    }

    .admin-layout .user-form .btn-primary {
        width: 100%;
    }

    .admin-layout .table-header,
    .admin-layout .table-row {
        grid-template-columns: 150px 70px 100px 90px 520px;
    }

    .admin-layout .actions > form:first-child {
        grid-template-columns: 125px auto auto;
    }
}