/* ============================================
   OVERRIDE GLOBAL DE TIPOGRAFÍA: TITILLIUM WEB
   ============================================ */
   :root {
    --bs-body-font-family: 'Titillium Web', sans-serif !important;
}

body, html {
    font-family: 'Titillium Web', sans-serif !important;
}

* {
    font-family: 'Titillium Web', sans-serif !important;
}

/* ============================================
   OVERRIDE GLOBAL DE BOTONES Y PAGINACIÓN
   ============================================ */

/* Botones Primary - Verde */
.btn-primary {
    background: linear-gradient(135deg, #4caf50, #66bb6a) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3) !important;
    transition: all 0.3s ease !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #388e3c, #4caf50) !important;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4) !important;
    transform: translateY(-2px);
}

.btn-primary:active, .btn-primary:focus {
    background: linear-gradient(135deg, #2e7d32, #388e3c) !important;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3) !important;
}

/* Botones Warning - Naranja */
.btn-warning {
    background: linear-gradient(135deg, #ff9800, #ffb74d) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #f57c00, #ff9800) !important;
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4) !important;
    transform: translateY(-2px);
    color: #fff !important;
}

.btn-warning:active, .btn-warning:focus {
    background: linear-gradient(135deg, #e65100, #f57c00) !important;
    box-shadow: 0 2px 10px rgba(255, 152, 0, 0.3) !important;
    color: #fff !important;
}

/* Botones Success - Verde más claro */
.btn-success {
    background: linear-gradient(135deg, #4caf50, #81c784) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3) !important;
    transition: all 0.3s ease !important;
}

.btn-success:hover {
    background: linear-gradient(135deg, #388e3c, #66bb6a) !important;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4) !important;
    transform: translateY(-2px);
}

/* Paginación - Colores Corporativos */
.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #ff9800, #ffb74d) !important;
    border-color: #ff9800 !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

.pagination .page-link {
    color: #4caf50 !important;
    border: 1px solid rgba(76, 175, 80, 0.2);
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: linear-gradient(135deg, #4caf50, #66bb6a) !important;
    border-color: #4caf50 !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.pagination .page-item.disabled .page-link {
    color: #a5d6a7 !important;
    background-color: #f5f5f5;
    border-color: #e0e0e0;
}

/* Estilos adicionales para elementos específicos */
.bg-primary {
    background: linear-gradient(135deg, #4caf50, #66bb6a) !important;
}

.text-primary {
    color: #4caf50 !important;
}

.border-primary {
    border-color: #4caf50 !important;
}

/* Alert styles */
.alert-warning {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1), rgba(255, 183, 77, 0.1)) !important;
    border-left: 4px solid #ff9800 !important;
    color: #e65100 !important;
}

/* Form control focus */
.form-control:focus {
    border-color: #4caf50 !important;
    box-shadow: 0 0 0 0.25rem rgba(76, 175, 80, 0.25) !important;
}

/* ============================================
   ESTILOS SIDEBAR - RANGO Y PUNTOS
   ============================================ */

.sidebar-item-custom {
    list-style: none;
    margin: 0 1rem 1rem 1rem;
    padding: 0;
}

/* Card de Rango */
.rank-card-sidebar {
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    border-radius: 15px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
    transition: all 0.3s ease;
}

.rank-card-sidebar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.rank-icon-sidebar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
}

.rank-info-sidebar {
    flex: 1;
}

.rank-label-sidebar {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 2px;
}

.rank-name-sidebar {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Cards de Puntos */
.points-cards-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.point-card-sidebar {
    border-radius: 12px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.point-card-sidebar:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.point-card-green {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(129, 199, 132, 0.2));
    border-left: 4px solid #4caf50;
}

.point-card-orange {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.2), rgba(255, 183, 77, 0.2));
    border-left: 4px solid #ff9800;
}

.point-icon-sidebar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.point-card-green .point-icon-sidebar {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: #fff;
}

.point-card-orange .point-icon-sidebar {
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    color: #fff;
}

.point-info-sidebar {
    flex: 1;
}

.point-label-sidebar {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}

.point-value-sidebar {
    font-size: 1rem;
    color: #fff;
    font-weight: 700;
    margin: 0;
}

/* Responsive para sidebar */
@media (max-width: 768px) {
    .rank-name-sidebar {
        font-size: 1rem;
    }
    
    .point-value-sidebar {
        font-size: 0.9rem;
    }
    
    .rank-icon-sidebar {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .point-icon-sidebar {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* ============================================
   ESTILOS EXISTENTES
   ============================================ */

#auth #auth-left {
    padding: 3rem 5rem;
}

#auth #auth-left .auth-logo {
    margin-bottom: 2rem;
    text-align: center;
}
#auth #auth-left .auth-title{
	font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}
#auth #auth-left .auth-subtitle {
    color: #a8aebb;
    font-size: 1.2rem;
    line-height: 1.5rem;
}
.p-olvido{
	font-size: 14px;
}

video.home{
	-webkit-filter: opacity(40%);
	filter: opacity(40%);
	position: fixed;
    min-height: auto;
    height: 100vh;
}
.stats-icon i.bi {
    line-height: 1px;
    height: auto;
    width: auto;
}
.text-nv h6, .text-nv h5{
    font-size: 0.8rem;
}
.load{
    position: fixed;
    z-index: 5;
    left: 50%;
    top: 44%;
    display: none;
}
table.table-datos tr th{
    padding: 5px 12px !important;
    font-size: 15px;
}
table.table-datos tr td{
    padding: 5px 12px !important;
    font-size: 13px;
}
.card-numeros{
    box-shadow: 0 0 10px 0 rgb(58 70 93 / 15%);
    margin-bottom: 14px;
    cursor: pointer; 
}
.card-numeros:hover{
    box-shadow: 0 0 10px 0 rgb(58 70 93 / 43%);
    transform: translateY(1px);
    transition: all .2s;
    z-index: 5;
}
.icon-logo{
    font-size: 37px;
}
.card-home-01{
    border-bottom: 3px solid #ffce3a;
}
.card-home-02{
    border-bottom: 3px solid #ff7976;
}
.card-home-03{
    border-bottom: 3px solid #5ddab4;
}
.card-home-04{
    border-bottom: 3px solid #9694ff;
}
#chartdiv{
    width: 100%;
    height: 400px;
}

/***BINARIO***********/

#binario .voltaraotopo {
    text-align: center;
}
#binario .voltaraotopo a {
    background: #555 none repeat scroll 0 0;
    color: #fff;
    display: inline-block;
    font-size: 1.1em;
    font-weight: bold;
    padding: 5px 8px 4px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    width: 87px;
}
#binario .voltaraotopo a:hover {
    background: #000 none repeat scroll 0 0;
}
#binario table#rede {
    margin: 0 auto;
    width: 100%;
}
#binario table#rede tr {
    border: 0 none;
}
#binario table#rede tr td {
    border: 0 none;
    padding: 2px;
    text-align: center;
    vertical-align: top;
}
/*
#binario table#rede tr td span {
    display: block;
    font-size: 0.9em;
    line-height: 12px;
    padding: 5px;
}*/
#binario table#rede tr td span strong {
    display: block;
    font-size: 1em;
    text-align: center;
}
#binario table#rede tr td span.lado {
    font-size: 0.9em;
    font-weight: bold;
}
#binario table#rede tr td.inativo span.lado {
    color: #aaa;
}
#binario table#rede tr td .alert-info {
    background: #eee none repeat scroll 0 0;
    border: 0 none;
    margin: 0;
}
#binario table#rede .alert.alert-info.aprovado {
    background: #547c95 none repeat scroll 0 0;
}
#binario table#rede tr td.aleft {
    border-bottom: 2px solid rgba(78, 78, 78, 0.7);
    border-right: 2px solid rgba(78, 78, 78, 0.7);
    padding: 10px 0;
}
#binario table#rede tr td.aright {
    border-bottom: 2px solid rgba(78, 78, 78, 0.7);
    border-left: 2px solid rgba(78, 78, 78, 0.7);
    padding: 10px 0;
}
#binario table#rede tr td.bleft {
    border-right: 2px solid rgba(78, 78, 78, 0.7);
    padding: 10px 0;
}
#binario table#rede tr td.dbottom {
    border-bottom: 2px solid rgba(78, 78, 78, 0.7);
    padding: 10px 0;
}
#binario table#rede tr.a1 td {
    width: 490px;
}
#binario table#rede tr.a2 td {
    width: 245px;
}
#binario table#rede tr.a3 td {
    width: 122px;
}
#binario table#rede tr.a4 td {
    width: 60px;
}
#binario table#rede tr.a5 td {
    width: 30px;
}
#binario table#rede tr td div a {
    color: #FFFFFF;
    display: inline-block;
    padding: 10px 5px;
    text-decoration: none;
}
#binario table#rede tr td div img {
    display: block;
    margin: 0 auto;
}
#binario table#rede tr td div {
    display: inline-block;
    margin: 0 auto;
    width: auto;
}
#binario table#rede tr td.inativo div img {
    padding: 10px 5px;
}

/*  ************** SESION BINARIO ********************** */
.tree {
    position: relative;
    overflow-x: auto;
}
.tree ul {
    padding-top: 20px;
    position: relative;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}
.tree ul {
    display: flex;
    padding-left: 0;
    justify-content: space-between;
}
.tree li {
    float: left;
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 20px 5px 0 5px;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}
.tree ul li {
    width: 100%;
}
.tree li:only-child {
    padding-top: 0;
}
.tree li:first-child::before, .tree li:last-child::after {
    border: 0 none;
}
.tree li:last-child::before {
    border-right: 1px solid #ccc;
    border-radius: 0 5px 0 0;
    -webkit-border-radius: 0 5px 0 0;
    -moz-border-radius: 0 5px 0 0;
}
.team-logo-box {
    border: none !important;
}
.tree li a span {
    width: 100%;
    display: block;
}
.tree li a span:first-child {
    color: #333;
    font-size: 14px;
    font-weight: 600;
}
.team-logo-box .username {
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #666 !important;
    padding: 8px 2px 0 !important;
    text-transform: capitalize;
    letter-spacing: normal;
}
.tree ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 1px solid #ccc;
    width: 0;
    height: 20px;
}
.tree li::before, .tree li::after {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    border-top: 1px solid #ccc;
    width: 50%;
    height: 20px;
}
.tree li:first-child::before, .tree li:last-child::after {
    border: 0 none;
}
.team-logo-box {
    border: none !important;
}
.team-logo-box img {
    height: 40px;
    border-radius: 50px;
    border: 1px solid #d7d7d7;
    padding: 1px;
}
.tree li::after {
    right: auto;
    left: 50%;
    border-left: 1px solid #ccc;
}
.tree li:first-child::after {
    border-radius: 5px 0 0 0;
    -webkit-border-radius: 5px 0 0 0;
    -moz-border-radius: 5px 0 0 0;
}
.form-check-label{
    font-size: 28px;
}

.btn-login{
    background-color: #68a623;
}

/* ========================================
   ESTILOS DEL MENÚ LATERAL (SIDEBAR)
   Tema Verde Oscuro Corporativo
========================================= */

/* Fondo del Sidebar */
#sidebar .sidebar-wrapper {
    background: linear-gradient(180deg, #0f3a20 0%, #1a4d2e 50%, #0d2818 100%) !important;
}

#sidebar {
    background: #0f3a20 !important;
    z-index: 999;
}

#sidebar.active {
    z-index: 999;
}

/* Logo y Header del Sidebar */
#sidebar .sidebar-header {
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 152, 0, 0.2);
}

#sidebar .sidebar-header .logo a {
    color: #ffffff;
    font-weight: 700;
}

#sidebar .sidebar-header .logo img {
    height: 60px;
    width: auto;
}

/* Toggle Theme (Dark/Light) */
#sidebar .theme-toggle svg {
    color: rgba(255, 255, 255, 0.7);
}

#sidebar .form-check-input {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

#sidebar .form-check-input:checked {
    background-color: #ff9800;
    border-color: #ff9800;
}

/* Títulos del Sidebar */
#sidebar .sidebar-title {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 1.5rem;
    margin-top: 1rem;
}

/* Items del Menú */
#sidebar .sidebar-link {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 5px 10px;
    padding: 12px 15px !important;
}

#sidebar .sidebar-link:hover {
    background: rgba(255, 152, 0, 0.15) !important;
    color: #ffffff !important;
    transform: translateX(5px);
}

#sidebar .sidebar-link i {
    color: #ff9800;
    margin-right: 10px;
}

/* Item Activo */
#sidebar .sidebar-item.active > .sidebar-link {
    background: linear-gradient(135deg, #ff9800, #ffa726) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
    font-weight: 600;
}

#sidebar .sidebar-item.active > .sidebar-link i {
    color: #ffffff !important;
}

/* Submenú */
#sidebar .submenu {
    background: rgba(0, 0, 0, 0.2);
    border-left: 2px solid #ff9800;
    margin-left: 1rem;
}

#sidebar .submenu-item a {
    color: rgba(255, 255, 255, 0.7) !important;
    padding: 8px 15px;
    display: block;
    transition: all 0.3s ease;
}

#sidebar .submenu-item a:hover {
    color: #ff9800 !important;
    background: rgba(255, 152, 0, 0.1);
    padding-left: 20px;
}

#sidebar .submenu-item.active a {
    color: #ff9800 !important;
    font-weight: 600;
    background: rgba(255, 152, 0, 0.15);
}

/* Sidebar Toggler */
#sidebar .sidebar-toggler a {
    color: #ffffff;
}

#sidebar .sidebar-toggler a:hover {
    color: #ff9800;
}

/* Sidebar cuando está activo/expandido */
#sidebar.active {
    background: #0f3a20 !important;
}

/* Estilos cuando sidebar está colapsado (modo móvil) */
@media screen and (max-width: 1199px) {
    #sidebar.active .sidebar-wrapper {
        background: linear-gradient(180deg, #0f3a20 0%, #1a4d2e 50%, #0d2818 100%) !important;
    }
}

/* Scrollbar del Sidebar */
#sidebar .sidebar-wrapper::-webkit-scrollbar {
    width: 6px;
}

#sidebar .sidebar-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

#sidebar .sidebar-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 152, 0, 0.5);
    border-radius: 10px;
}

#sidebar .sidebar-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 152, 0, 0.8);
}

/* ========================================
   FIN ESTILOS DEL MENÚ LATERAL
========================================= */

/* ========================================
   ESTILOS DEL NAVBAR SUPERIOR
   Tema Verde Oscuro Corporativo
========================================= */

.layout-navbar header {
    background: rgba(15, 58, 32, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 152, 0, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1000;
}

.layout-navbar .navbar {
    background: transparent !important;
}

/* Burger Button */
.layout-navbar .burger-btn {
    z-index: 100;
    cursor: pointer;
}

.layout-navbar .burger-btn i {
    color: #ffffff !important;
    font-size: 24px;
}

.layout-navbar .burger-btn:hover i {
    color: #ff9800 !important;
}

/* User Info */
.layout-navbar .user-name h6,
.layout-navbar .user-name p {
    color: #ffffff !important;
}

.layout-navbar .user-name p {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Notificaciones */
.layout-navbar .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
}

.layout-navbar .nav-link:hover {
    color: #ff9800 !important;
}

/* Dropdown container */
.layout-navbar .dropdown {
    position: relative;
    z-index: 9999;
}

.layout-navbar .nav-item.dropdown {
    z-index: 9999;
}

.layout-navbar .badge {
    background: linear-gradient(135deg, #f44336, #ef5350) !important;
}

/* Dropdown Menu */
.layout-navbar .dropdown-menu {
    background: #1a4d2e !important;
    border: 1px solid rgba(255, 152, 0, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 9999 !important;
    position: absolute !important;
}

.layout-navbar .dropdown-header {
    color: #ff9800 !important;
    border-bottom: 1px solid rgba(255, 152, 0, 0.2);
}

.layout-navbar .dropdown-item {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease;
}

.layout-navbar .dropdown-item:hover {
    background: rgba(255, 152, 0, 0.2) !important;
    color: #ffffff !important;
}

.layout-navbar .dropdown-divider {
    border-color: rgba(255, 152, 0, 0.2);
}

/* Avatar */
.layout-navbar .avatar {
    border: 2px solid #ff9800;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

/* ========================================
   FIN ESTILOS DEL NAVBAR SUPERIOR
========================================= */

/* ========================================
   ÁREA DE CONTENIDO PRINCIPAL
========================================= */

#main {
    background: linear-gradient(135deg, #0f3a20 0%, #1a4d2e 50%, #0d2818 100%);
    min-height: 100vh;
}

#main-content {
    background: transparent;
}

/* Page Heading */
.page-heading h3,
.page-heading-modern h3 {
    color: #ffffff !important;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.2) !important;
    border-top: 1px solid rgba(255, 152, 0, 0.2);
    color: rgba(255, 255, 255, 0.7) !important;
}

footer p {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer a {
    color: #ff9800 !important;
}

footer a:hover {
    color: #ffa726 !important;
}

/* Breadcrumb si existe */
.breadcrumb {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.breadcrumb-item,
.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
    color: #ff9800;
}

/* ========================================
   FIN ÁREA DE CONTENIDO PRINCIPAL
========================================= */

/* NUEVO DISEÑO LOGIN */
#auth-new {
    min-height: 100vh;
    width: 100%;
    position: relative;
}

.login-background {
    background-image: url('../../assets/images/bg/bg2.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

.login-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.login-logo {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.form-control-login {
    height: 50px;
    border-radius: 8px;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    background: linear-gradient(90deg, #ffd54f 0%, #ff9800 100%);
    color: #333;
    font-weight: 500;
}

.form-control-login::placeholder {
    color: #666;
    opacity: 0.8;
}

.form-control-login:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.3);
    background: linear-gradient(90deg, #ffd54f 0%, #ff9800 100%);
}

.forgot-link {
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-link:hover {
    color: #ff9800;
    text-decoration: none;
}

.btn-login-new {
    height: 50px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(90deg, #ffd54f 0%, #ff9800 100%);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.btn-login-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
    background: linear-gradient(90deg, #ff9800 0%, #f57c00 100%);
    color: #fff;
}

.btn-login-new:active {
    transform: translateY(0);
}

@media screen and (max-width: 768px) {
    .login-card {
        padding: 30px 25px;
    }
    
    .login-logo {
        width: 120px;
    }
    
    .form-control-login {
        height: 45px;
        font-size: 14px;
    }
    
    .btn-login-new {
        height: 45px;
        font-size: 16px;
    }
}

@media screen and (max-width: 576px) {
    .login-card {
        padding: 25px 20px;
        margin: 15px;
    }
    
    .login-logo {
        width: 100px;
    }
}

/* ========================================
   DASHBOARD MODERNO - DISEÑO CORPORATIVO
   Colores: Verde (#1a4d2e, #4caf50, #5ddab4) 
            Naranja (#ff9800, #ffa726, #ffd54f)
========================================= */

/* FONDO PRINCIPAL */
.dashboard-modern {
    background: linear-gradient(135deg, #0f3a20 0%, #1a4d2e 50%, #0d2818 100%);
    min-height: 100vh;
    padding: 20px;
}

.page-heading-modern h3 {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 25px;
}

/* CARDS MODERNOS CON GLASSMORPHISM */
.card-modern {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Margin bottom para cards en grid */
.dashboard-modern .row > [class*="col-"] .card-modern {
    margin-bottom: 20px;
}

.card-modern-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.card-modern-inner {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.card-body-modern {
    padding: 25px;
}

/* GRADIENTES PARA CARDS SUPERIORES */
.card-modern-gradient-green {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3) 0%, rgba(26, 77, 46, 0.5) 100%);
    border: 1px solid rgba(93, 218, 180, 0.3);
}

.card-modern-gradient-orange {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.3) 0%, rgba(255, 167, 38, 0.5) 100%);
    border: 1px solid rgba(255, 213, 79, 0.3);
}

.card-modern-gradient-blue {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.3) 0%, rgba(13, 71, 161, 0.5) 100%);
    border: 1px solid rgba(100, 181, 246, 0.3);
}

/* ICONOS GRANDES */
.icon-modern-large {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.icon-modern-xlarge {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.3), rgba(76, 175, 80, 0.3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #ffd54f;
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

/* LABELS Y VALUES */
.card-modern-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.card-modern-value {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-modern-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.card-modern-title i {
    color: #ff9800;
    margin-right: 8px;
}

/* COLORES DE TEXTO */
.text-cyan {
    color: #5ddab4 !important;
}

.text-warning-light {
    color: #ffd54f !important;
}

.text-info-light {
    color: #81d4fa !important;
}

.text-orange {
    color: #ff9800 !important;
}

/* SECCIÓN COMISIONES */
.commission-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.commission-box:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 152, 0, 0.5);
}

.commission-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4caf50, #5ddab4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.commission-icon-accent {
    background: linear-gradient(135deg, #ff9800, #ffa726);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
}

.commission-info {
    flex: 1;
}

.commission-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.commission-value {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* DETALLE BONOS */
.bonus-grid {
    gap: 15px;
}

.bonus-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.bonus-item:hover {
    background: rgba(255, 152, 0, 0.1);
    border-color: rgba(255, 152, 0, 0.3);
    transform: translateY(-3px);
}

.bonus-label {
    color: #5ddab4;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.bonus-value {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

/* GRÁFICO CIRCULAR DE PROGRESO */
.circular-progress-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 20px auto;
}

.circular-progress {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.progress-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 12;
}

.progress-bar-circle {
    fill: none;
    stroke: url(#progressGradient);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 534.07;
    stroke-dashoffset: calc(534.07 - (534.07 * var(--progress)) / 100);
    transition: stroke-dashoffset 1s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progress-percentage {
    font-size: 42px;
    font-weight: 700;
    color: #ff9800;
    margin: 0;
    text-shadow: 0 2px 8px rgba(255, 152, 0, 0.5);
}

.progress-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

/* MÉTRICAS LATERALES */
.metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
}

.metric-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.metric-label i {
    color: #ff9800;
    margin-right: 8px;
}

.metric-value {
    font-size: 18px;
    font-weight: 700;
    color: #5ddab4;
}

/* BARRAS DE PROGRESO MODERNAS */
.progress-card-modern {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-card-modern h6 {
    color: #ffffff;
}

.progress-modern {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-modern {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.progress-bar-success {
    background: linear-gradient(90deg, #4caf50, #5ddab4);
}

.progress-bar-info {
    background: linear-gradient(90deg, #2196f3, #64b5f6);
}

.progress-card-modern small {
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   GRÁFICA CIRCULAR DE RANGO
========================================= */

/* Contenedor de la gráfica circular de rango */
.circular-progress-rank-container {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 20px auto;
}

.circular-progress-rank {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.progress-bg-rank {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 14;
}

.progress-bar-rank {
    fill: none;
    stroke: url(#rankProgressGradient);
    stroke-width: 14;
    stroke-linecap: round;
    stroke-dasharray: 534.07;
    stroke-dashoffset: calc(534.07 - (534.07 * var(--progress-rank)) / 100);
    transition: stroke-dashoffset 1.5s ease;
}

/* Icono del rango en el centro del círculo */
.rank-icon-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    z-index: 10;
    pointer-events: none;
}

.rank-icon-center i {
    font-size: 60px;
    color: #ffd54f;
    text-shadow: 0 4px 15px rgba(255, 213, 79, 0.6);
    animation: pulse-icon 2s ease-in-out infinite;
    display: block;
    margin-bottom: 10px;
    position: relative;
    z-index: 11;
}

.rank-name-center {
    font-size: 14px;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 12px;
    border-radius: 15px;
    white-space: nowrap;
    position: relative;
    z-index: 12;
}

/* Animación sutil del icono */
@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* Porcentaje debajo del círculo */
.progress-below-rank {
    text-align: center;
    margin-top: 15px;
}

.progress-percentage-rank {
    font-size: 48px;
    font-weight: 700;
    color: #5ddab4;
    margin: 0;
    text-shadow: 0 2px 8px rgba(93, 218, 180, 0.5);
    line-height: 1;
}

.progress-label-rank {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 5px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   REQUISITOS DETALLADOS
========================================= */

.requisitos-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.requisitos-container h6 {
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.requisito-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.requisito-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(93, 218, 180, 0.3);
    transform: translateY(-2px);
}

.requisito-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.requisito-icon {
    font-size: 20px;
}

.requisito-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
}

.requisito-data {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 8px;
}

.requisito-actual {
    color: #5ddab4;
    font-size: 24px;
    font-weight: 700;
}

.requisito-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
}

.requisito-meta {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.requisito-porcentaje {
    text-align: right;
}

.badge-requisito {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.badge-success {
    background: linear-gradient(135deg, #4caf50, #5ddab4);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.badge-warning {
    background: linear-gradient(135deg, #ff9800, #ffa726);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

/* ROLLOVER CARD */
.rollover-card-modern {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.rollover-card-modern h6 {
    color: #ffffff;
}

.badge-modern {
    background: linear-gradient(135deg, #ff9800, #ffa726);
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

.badge-modern.badge-success {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.badge-modern.badge-warning {
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

.bonus-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.line-item-modern {
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.line-item-modern span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.line-item-modern strong {
    color: #5ddab4;
    font-size: 14px;
}

.divider-modern {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 15px 0;
}

/* RESPONSIVE */
@media screen and (max-width: 991px) {
    .dashboard-modern {
        padding: 15px;
    }
    
    .card-modern-value {
        font-size: 20px;
    }
    
    .commission-value {
        font-size: 26px;
    }
    
    .circular-progress-container {
        width: 160px;
        height: 160px;
    }
    
    .progress-percentage {
        font-size: 36px;
    }
}

@media screen and (max-width: 768px) {
    .card-body-modern {
        padding: 20px;
    }
    
    .icon-modern-large {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .card-modern-value {
        font-size: 18px;
    }
    
    .commission-box {
        flex-direction: column;
        text-align: center;
    }
    
    .commission-value {
        font-size: 24px;
    }
}

@media screen and (max-width: 576px) {
    .dashboard-modern {
        padding: 10px;
    }
    
    .page-heading-modern h3 {
        font-size: 24px;
    }
    
    .card-modern {
        margin-bottom: 15px;
    }
    
    .icon-modern-large {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .card-modern-value {
        font-size: 16px;
    }
    
    .commission-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .commission-value {
        font-size: 20px;
    }
    
    .bonus-item {
        padding: 12px;
        margin-bottom: 10px;
    }
    
    .circular-progress-container {
        width: 140px;
        height: 140px;
    }
    
    .progress-percentage {
        font-size: 30px;
    }
    
    .metric-box {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   ICONOS DE ESTADÍSTICAS (STATS ICONS)
========================================= */

.stats-icon-modern {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.stats-icon-modern.purple {
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    color: #fff;
}

.stats-icon-modern.blue {
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    color: #fff;
}

.stats-icon-modern.green {
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    color: #fff;
}

.stats-icon-modern.red {
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    color: #fff;
}

.stats-icon-modern.pink {
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    color: #fff;
}

.stats-icon-modern.yellow {
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    color: #fff;
}

.stats-icon-modern.indigo {
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    color: #fff;
}

/* TIPOGRAFÍA MODERNA */
.font-semibold-modern {
    font-weight: 600;
}

.font-extrabold-modern {
    font-weight: 700;
    color: #ffffff;
    font-size: 1.5rem;
}

.text-muted-modern {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Ajustes para texto dentro de cards modernas */
.card-modern h4, .card-modern h5, .card-modern h6 {
    color: #ffffff;
}

.card-modern h4.font-extrabold-modern,
.card-modern h5.font-extrabold-modern {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.card-modern h6.text-muted-modern {
    font-size: 0.75rem;
}

/* Padding responsivo para cards */
.card-body-modern.px-3 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.card-body-modern.py-4 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

/* ========================================
   MÉTRICAS ADICIONALES Y CONTENIDO
========================================= */

/* METRIC BOX */
.metric-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.metric-icon-modern {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.bg-gradient-orange {
    background: linear-gradient(135deg, #ff9800, #ffa726);
}

.bg-gradient-green {
    background: linear-gradient(135deg, #4caf50, #5ddab4);
}

.bg-gradient-yellow {
    background: linear-gradient(135deg, #ffd54f, #ffb300);
}

.bg-gradient-purple {
    background: linear-gradient(135deg, #9c27b0, #ba68c8);
}

.metric-content-modern {
    flex: 1;
}

.metric-title-modern {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
}

.metric-value-modern {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin: 5px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.metric-subtitle-modern {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin: 0;
}

.text-success-modern {
    color: #5ddab4 !important;
    font-weight: 600;
}

.text-danger-modern {
    color: #ff5252 !important;
    font-weight: 600;
}

.text-muted-modern {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* TABLA MODERNA */
.table-modern {
    width: 100%;
    color: #ffffff;
}

.table-modern thead tr {
    border-bottom: 2px solid rgba(255, 152, 0, 0.3);
}

.table-modern th {
    padding: 12px 15px;
    font-weight: 600;
    color: #ff9800;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.table-modern td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
}

.table-modern tbody tr:hover {
    background: rgba(255, 152, 0, 0.1);
}

/* PERSONAS NUEVAS Y GRUPO CONTENT */
.personas-nuevas-content,
.grupo-content {
    color: rgba(255, 255, 255, 0.9);
}

.personas-nuevas-content .avatar,
.grupo-content .avatar {
    border: 2px solid rgba(255, 152, 0, 0.5);
}

/* Ajustes para avatares y nombres */
.dashboard-modern .avatar img {
    border: 2px solid rgba(93, 218, 180, 0.3);
}

/* Texto dentro de cards */
.dashboard-modern p,
.dashboard-modern span {
    color: rgba(255, 255, 255, 0.9);
}

.dashboard-modern .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* List groups dentro de cards */
.dashboard-modern .list-group-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.dashboard-modern .list-group-item:hover {
    background: rgba(255, 152, 0, 0.1);
}

/* Progress bars adicionales */
.dashboard-modern .progress {
    background: rgba(255, 255, 255, 0.1);
}

.dashboard-modern .progress-bar {
    background: linear-gradient(90deg, #ff9800, #ffa726);
}

.dashboard-modern .progress-success .progress-bar {
    background: linear-gradient(90deg, #4caf50, #5ddab4);
}

.dashboard-modern .progress-info .progress-bar {
    background: linear-gradient(90deg, #2196f3, #64b5f6);
}

/* COMPARTIR URL */
.share-links-modern {
    display: flex;
    flex-direction: column;
}

.share-link-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 8px;
}

.form-control-modern {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 6px;
    width: 100%;
    font-size: 12px;
}

.form-control-modern:focus {
    outline: none;
    border-color: #ff9800;
}

.btn-share-modern {
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-share-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #fff;
    text-decoration: none;
}

.btn-share-primary {
    background: linear-gradient(135deg, #2196f3, #64b5f6);
}

.btn-share-success {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.btn-share-info {
    background: linear-gradient(135deg, #1877f2, #4267b2);
}

.btn-share-warning {
    background: linear-gradient(135deg, #ff9800, #ffa726);
}

/* ESTILOS ADICIONALES PARA CONTENIDO DINÁMICO */
.dashboard-modern .avatar {
    border: 2px solid rgba(93, 218, 180, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dashboard-modern .badge {
    background: linear-gradient(135deg, #ff9800, #ffa726);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.dashboard-modern small {
    color: rgba(255, 255, 255, 0.7);
}

/* RESPONSIVE PARA NUEVAS SECCIONES */
@media screen and (max-width: 768px) {
    .metric-icon-modern {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .metric-value-modern {
        font-size: 22px;
    }
    
    .table-modern {
        font-size: 13px;
    }
    
    .table-modern th,
    .table-modern td {
        padding: 8px 10px;
    }
    
    .stats-icon-modern {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .font-extrabold-modern {
        font-size: 1.2rem;
    }
    
    /* Gráfica de rango responsive */
    .circular-progress-rank-container {
        width: 180px;
        height: 180px;
    }
    
    .rank-icon-center i {
        font-size: 50px;
        margin-bottom: 6px;
    }
    
    .rank-name-center {
        font-size: 12px;
        letter-spacing: 1px;
        padding: 3px 8px;
    }
    
    .progress-percentage-rank {
        font-size: 40px;
    }
    
    .requisito-actual {
        font-size: 20px;
    }
    
    .requisito-item {
        padding: 12px;
    }
}

@media screen and (max-width: 576px) {
    .metric-icon-modern {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .metric-value-modern {
        font-size: 20px;
    }
    
    .btn-share-modern {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .table-modern {
        font-size: 12px;
    }
    
    .stats-icon-modern {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .font-extrabold-modern {
        font-size: 1rem;
    }
    
    .text-muted-modern {
        font-size: 0.7rem;
    }
    
    .card-body-modern.px-3 {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .card-body-modern.py-4 {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    /* Gráfica de rango en móvil pequeño */
    .circular-progress-rank-container {
        width: 160px;
        height: 160px;
    }
    
    .rank-icon-center i {
        font-size: 40px;
        margin-bottom: 5px;
    }
    
    .rank-name-center {
        font-size: 10px;
        letter-spacing: 0.8px;
        padding: 2px 6px;
        max-width: 90%;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .progress-percentage-rank {
        font-size: 36px;
    }
    
    .progress-label-rank {
        font-size: 12px;
    }
    
    .progress-below-rank {
        margin-top: 10px;
    }
    
    .requisito-actual {
        font-size: 18px;
    }
    
    .requisito-meta {
        font-size: 12px;
    }
    
    .requisitos-container {
        padding: 15px;
    }
    
    .requisito-item {
        padding: 10px;
    }
}
/* STYLE PAQUETE DE INICIO */
.form-check-paquete{
    margin-right: 3rem;
    background-color: #68a623;
    color: white;
    padding: 13px;
    border-radius: 12px;
    width: 390px;
    margin-bottom: 13px;
    box-shadow: -1px 5px 15px 0px #0000004f;
}

.form-check-paquete .form-check-input:checked {
    background-color: #fe9706 !important;
    border-color: #fe9706 !important;
}
.form-check-paquete .form-check-input{
    margin-left: 0em !important;
}

.form-check-paquete .form-check-label {
    font-size: 19px;
}
.td-bono{
    min-width: 120px;
}
/*  ************** END SESION BINARIO ******************** */

@media screen and (max-width: 576px){
    #auth #auth-left {
        padding: 5rem 2rem !important;
    }
    #chartdiv{
        width: 100%;
        height: 250px;
    }
    .form-check-label{
        font-size: 15px;
    }
    .form-check-paquete{
        width: 100%;
        margin: 7px 2px;
    }
}

/* ============================================
   CONTROLES DE ZOOM DEL ORGANIGRAMA
   ============================================ */
#zoom-controls {
    position: relative;
    z-index: 1000;
}

#zoom-controls .btn {
    min-width: 40px;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

#zoom-controls .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#zoom-controls .btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    #zoom-controls {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 10000;
        display: flex;
        flex-direction: column;
        gap: 8px;
        background: rgba(255, 255, 255, 0.95);
        padding: 10px;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    #zoom-controls .btn {
        min-width: 50px;
        height: 50px;
        font-size: 1.2rem;
        border-radius: 10px;
    }
}


