/*
Theme Name: BePagos Betting
Description: Tema simple para panel de apuestas
Version: 1.0.0
Author: BePagos
*/

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.navbar-menu-toggle {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #666;
}

.navbar-menu-toggle:hover {
    background: #e9ecef;
    color: #333;
    transform: scale(1.05);
}

/* Mostrar botón del navbar cuando sidebar está cerrado */
.navbar-menu-toggle {
    display: flex;
}

/* Ocultar botón del navbar cuando sidebar está abierto en desktop */
.navbar-menu-toggle.hide-in-desktop {
    display: none;
}

@media (max-width: 768px) {
    .navbar-menu-toggle.hide-in-desktop {
        display: flex;
    }
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
    margin-left: 40px;
}

.search-input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    background: #f8f9fa;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.menu-toggle {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.status-info {
    font-size: 14px;
    color: #666;
}

.status-online {
    color: #28a745;
    font-weight: bold;
}

.user-info {
    font-size: 14px;
    color: #333;
}

.notification-icon {
    position: relative;
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: #007bff;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.theme-toggle,
.contact-btn {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border-right: 1px solid #e0e0e0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    /* Ocultar scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* Ocultar scrollbar en Webkit browsers */
.sidebar::-webkit-scrollbar {
    display: none;
}

/* Overlay para móviles */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar.open {
    transform: translateX(0);
}

/* Header del sidebar */
.sidebar-header {
    padding: 15px 20px;
    background: white;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
}

.sidebar-header .menu-toggle {
    width: 35px;
    height: 35px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
}

.sidebar-header .menu-toggle:hover {
    background: #e9ecef;
    color: #333;
    transform: scale(1.05);
}

/* Logo del sidebar */
.sidebar-logo {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-logo-img {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    display: block;
}

/* Sección de perfil */
.profile-section {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background: white;
}

.profile-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.stat-item:hover {
    background: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 24px;
    height: 24px;
    background: #28a745;
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-label {
    font-size: 11px;
    color: #666;
    font-weight: 500;
}

.stat-value {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* Navegación del sidebar */
.sidebar-nav {
    padding: 10px 0 20px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    margin: 3px 0;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 0 25px 25px 0;
    margin-right: 20px;
}

.nav-item:hover {
    background: #e9ecef;
    color: #333;
    transform: translateX(5px);
}

.nav-item.active {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    transform: translateX(5px);
}

.nav-item.inactive {
    opacity: 0.6;
    cursor: not-allowed;
}

.nav-item.inactive:hover {
    transform: none;
    background: none;
}

/* Submenu de navegación */
.nav-submenu {
    display: none;
    background: #f8f9fa;
    border-left: 3px solid #3056d3;
    margin-left: 20px;
    border-radius: 0 8px 8px 0;
    overflow: hidden;
}

.nav-submenu.active {
    display: block;
}

.nav-subitem {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e0e0e0;
}

.nav-subitem:last-child {
    border-bottom: none;
}

.nav-subitem:hover {
    background: #e9ecef;
    color: #3056d3;
    transform: translateX(5px);
}

.nav-subitem i {
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.nav-arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.nav-arrow.rotated {
    transform: rotate(180deg);
}

.nav-icon {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.nav-text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.nav-arrow {
    font-size: 12px;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.nav-item:hover .nav-arrow {
    transform: translateX(2px);
}

.nav-badge {
    font-size: 10px;
    color: #999;
    font-style: italic;
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
}

/* Contenido principal */
.main-container {
    min-height: calc(100vh - 80px);
    background: #f8f9fa;
    margin-left: 0;
    transition: margin-left 0.3s ease;
}

.main-container.with-sidebar {
    margin-left: 280px;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.content-container {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.main-content h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.main-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

/* Tarjetas de Plataformas */
.platforms-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.platform-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    max-width: 100%;
}

.platform-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.platform-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    text-align: center;
}

.platform-card {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    overflow: hidden;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    border-color: #007bff;
}

.platform-card-img {
    width: 121%;
    height: 189%;
    object-fit: contain;
    padding: 20px;
}

.platform-icon {
    width: 100%;
    height: 100%;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
}

.betplay-icon {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

.wplay-icon {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

.stake-icon {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

.betsson-icon {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.codere-icon {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}

.luckia-icon {
    background: linear-gradient(135deg, #be185d 0%, #ec4899 100%);
}

.bwin-icon {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

.yajuego-icon {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
}

.sportium-icon {
    background: linear-gradient(135deg, #ea580c 0%, #fb923c 100%);
}

.betano-icon {
    background: linear-gradient(135deg, #dc2626 0%, #f97316 100%);
}


@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* Modales */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

/* Modal de venta */
.sale-modal {
    width: 90%;
    max-width: 400px;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.back-button {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
}

.back-button:hover {
    background: #e9ecef;
    color: #333;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.sale-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.form-group input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.platform-input {
    display: flex;
    gap: 10px;
}

.platform-input input {
    flex: 1;
}

.platform-button {
    padding: 12px 15px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.total-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #e9ecef;
}

.total-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.total-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.amount-btn {
    padding: 12px 8px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.amount-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.amount-btn.selected {
    background: #28a745;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.notification-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle-container {
    position: relative;
}

.toggle-container input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    background: #cbd5e1;
    border-radius: 24px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.toggle-slider:before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.toggle-container input:checked + .toggle-slider {
    background: #28a745;
}

.toggle-container input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.toggle-label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.sell-button {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sell-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.btn-icon {
    font-size: 18px;
}

.btn-text {
    font-weight: 600;
}

.help-section {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    margin-top: 20px;
}

.help-icon {
    width: 32px;
    height: 32px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.help-text {
    font-size: 14px;
    color: #666;
}

/* Modal de éxito */
.success-modal {
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 0.6s ease-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.success-modal h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #28a745;
    margin-bottom: 20px;
}

.success-details {
    margin-bottom: 25px;
}

.success-details p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.success-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.info-value {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.close-success-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
}

.close-success-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

/* Prevenir scroll cuando modal está abierto */
body.modal-open {
    overflow: hidden;
}

/* Botones de Acción */
.action-buttons-section {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: center;
}

.action-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 180px;
    justify-content: center;
}

.primary-button {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.secondary-button {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.secondary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

/* Modales de Pago */
.load-balance-modal {
    width: 90%;
    max-width: 500px;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.payment-option.disabled-option {
    cursor: not-allowed;
    opacity: 0.6;
}

.payment-option.disabled-option:hover {
    border-color: #e9ecef;
    transform: none;
    box-shadow: none;
}

.payment-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.qr-icon {
    background: linear-gradient(135deg, #6f42c1 0%, #8e44ad 100%);
}

.collection-icon {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.pse-icon {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.bancolombia-icon {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

.payment-info {
    flex: 1;
}

.payment-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.payment-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.download-link {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
    display: inline-block;
}

.download-link:hover {
    text-decoration: underline;
}

.coming-soon {
    background: #dc3545;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 8px;
    display: inline-block;
}

/* Modal QR Payment */
.qr-payment-modal {
    width: 90%;
    max-width: 400px;
}

.qr-payment-content {
    text-align: center;
}

.qr-container {
    margin-bottom: 30px;
}

.qr-code {
    max-width: 250px;
    width: 100%;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    background: white;
}

.qr-instructions {
    font-size: 14px;
    color: #666;
    margin-top: 15px;
}

.payment-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.payment-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.minimum-info {
    background: #e3f2fd;
    color: #1976d2;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    margin-top: 15px;
    border-left: 4px solid #1976d2;
}

/* Modal Collection Card */
.collection-card-modal {
    width: 90%;
    max-width: 500px;
}

.admin-verification-message {
    text-align: center;
    padding: 20px;
}

.verification-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
    animation: pulse-warning 2s infinite;
}

@keyframes pulse-warning {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 193, 7, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

.admin-verification-message h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.admin-verification-message > p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 4px solid #007bff;
}

.contact-info p {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.contact-method:hover {
    border-color: #007bff;
    transform: translateY(-1px);
}

.contact-method i {
    width: 20px;
    text-align: center;
    font-size: 18px;
}

.contact-method i.fab.fa-whatsapp {
    color: #25d366;
}

.contact-method i.fas.fa-envelope {
    color: #dc3545;
}

.contact-method span {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.action-buttons .secondary-button,
.action-buttons .primary-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 150px;
    justify-content: center;
}

.action-buttons .secondary-button {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
}

.action-buttons .secondary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
    color: white;
}

.action-buttons .primary-button {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
}

.action-buttons .primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    color: white;
}

/* Estilos legacy para PDF (por si se necesita en el futuro) */
.pdf-preview {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.download-section {
    text-align: center;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    color: white;
}

.download-info {
    font-size: 14px;
    color: #666;
    margin-top: 15px;
}

/* Modal PSE Payment */
.pse-payment-modal {
    width: 90%;
    max-width: 400px;
}

.amount-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-symbol {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: 600;
    color: #666;
    z-index: 1;
    pointer-events: none;
    width: 20px;
    text-align: center;
}

.amount-input-container input {
    padding-left: 15px;
    font-size: 16px;
    font-weight: 600;
    text-indent: 0;
}

.minimum-amount {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    margin-bottom: 0;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.form-actions .secondary-button,
.form-actions .primary-button {
    flex: 1;
    padding: 12px 20px;
    font-size: 14px;
}

/* Modal Report Payment */
.report-payment-modal {
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.report-payment-modal::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.report-payment-form .form-group {
    margin-bottom: 20px;
}

.report-payment-form input[type="file"] {
    padding: 8px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    background: #f8f9fa;
    width: 100%;
}

.report-payment-form input[type="file"]:hover {
    border-color: #007bff;
}

/* Responsive */
@media (max-width: 768px) {
    .action-buttons-section {
        flex-direction: column;
        align-items: center;
    }
    
    .action-button {
        width: 100%;
        max-width: 300px;
    }
    
    .payment-option {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .payment-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .qr-code {
        max-width: 200px;
    }
    
    .contact-methods {
        gap: 8px;
    }
    
    .contact-method {
        padding: 8px 12px;
    }
    
    .contact-method span {
        font-size: 13px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .action-buttons .secondary-button,
    .action-buttons .primary-button {
        min-width: auto;
        width: 100%;
    }
    
    .verification-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

/* Botones */
.test-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: #28a745;
    color: white;
}

.btn-primary:hover {
    background: #218838;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Tarjetas de estado */
.test-info h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
}

.status-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.status-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.status-card h3 {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.status-number {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

/* WhatsApp flotante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.whatsapp-icon {
    color: white;
    font-size: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0 15px;
    }
    
    .navbar-menu-toggle {
        display: flex;
    }
    
    .search-container {
        max-width: 200px;
        margin-left: 0;
    }
    
    .navbar-right {
        gap: 15px;
    }
    
    /* Sidebar en móviles */
    .sidebar {
        width: 260px;
    }
    
    .sidebar-logo {
        padding: 15px;
    }
    
    .sidebar-logo-img {
        max-height: 60px;
    }
    
    .main-container.with-sidebar {
        margin-left: 0;
    }
    
    .main-content {
        padding: 20px 15px;
    }
    
    .content-container {
        padding: 30px 20px;
    }
    
    .main-content h1 {
        font-size: 2rem;
    }
    
    .platform-cards {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        max-width: 100%;
    }
    
    .test-buttons {
        flex-direction: column;
    }
    
    .status-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .user-info {
        display: none;
    }
    
    .status-info {
        display: none;
    }
    
    .platform-cards {
        grid-template-columns: 1fr;
    }
    
    .platform-card {
        padding: 15px;
    }
    
    .platform-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .modal-content {
        padding: 20px;
        margin: 20px;
    }
    
    .amount-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .platform-input {
        flex-direction: column;
    }
    
    .platform-button {
        width: 100%;
    }
}

/* Botón de Verificación en Sidebar */
.verification-nav-item {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24) !important;
    color: white !important;
    border: none !important;
    position: relative;
    animation: pulse 2s infinite;
    margin: 5px 0 !important;
    border-radius: 8px !important;
}

.verification-nav-item:hover {
    background: linear-gradient(135deg, #ee5a24, #ff6b6b) !important;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.verification-nav-item.en_revision {
    background: linear-gradient(135deg, #ffa726, #ff9800) !important;
}

.verification-nav-item.en_revision:hover {
    background: linear-gradient(135deg, #ff9800, #ffa726) !important;
}

.verification-nav-item.rechazado {
    background: linear-gradient(135deg, #f44336, #d32f2f) !important;
}

.verification-nav-item.rechazado:hover {
    background: linear-gradient(135deg, #d32f2f, #f44336) !important;
}

.verification-nav-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: bold;
    text-transform: uppercase;
    animation: bounce 1s infinite;
}

.verification-nav-item .nav-icon {
    color: white !important;
    animation: bounce 1s infinite;
}

.verification-nav-item .nav-text {
    color: white !important;
    font-weight: bold;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 107, 107, 0.6);
        transform: translateY(-2px);
    }
    100% {
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Modal de Verificación */
#verification-modal .modal-content {
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

#verification-modal .modal-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.verification-instructions {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 5px solid #007bff;
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.1);
}

.verification-instructions h3 {
    color: #007bff;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 123, 255, 0.1);
}

.verification-instructions ol {
    margin-left: 25px;
    list-style: none;
    counter-reset: step-counter;
}

.verification-instructions li {
    margin-bottom: 15px;
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    padding-left: 35px;
    counter-increment: step-counter;
}

.verification-instructions li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: #007bff;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

.file-preview {
    margin-top: 15px;
    text-align: center;
}

.file-preview img {
    max-width: 200px;
    max-height: 150px;
    border-radius: 12px;
    border: 2px dashed #007bff;
    padding: 15px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.file-preview img:hover {
    border-color: #0056b3;
    transform: scale(1.02);
}

/* Botón elegante para verificación */
#verification-modal .primary-button {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

#verification-modal .primary-button:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

#verification-modal .primary-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
}

#verification-modal .primary-button:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#verification-modal .primary-button .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estatus en navbar */
.user-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.user-status.verificado {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.user-status.pendiente,
.user-status.en_revision,
.user-status.rechazado {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive para alerta */
@media (max-width: 768px) {
    .alert-content {
        flex-direction: column;
        text-align: center;
    }
    
    .verification-alert {
        margin: 10px;
        padding: 15px;
    }
}

/* ==================== MODO OSCURO ==================== */
body.dark-mode {
    background-color: #1a1a2e;
    color: #e0e0e0;
}

/* Navbar en modo oscuro */
body.dark-mode .navbar {
    background: #16213e;
    border-bottom-color: #0f1626;
}

body.dark-mode .navbar-menu-toggle {
    background: #0f1626;
    border-color: #2a3f5f;
    color: #e0e0e0;
}

body.dark-mode .navbar-menu-toggle:hover {
    background: #1a2b44;
    color: #ffffff;
}

body.dark-mode .search-input {
    background: #0f1626;
    border-color: #2a3f5f;
    color: #e0e0e0;
}

body.dark-mode .search-input::placeholder {
    color: #8e8e8e;
}

body.dark-mode .search-icon {
    color: #8e8e8e;
}

body.dark-mode .status-info {
    color: #b0b0b0;
}

body.dark-mode .user-info {
    color: #e0e0e0;
}

body.dark-mode .notification-icon {
    color: #e0e0e0;
}

body.dark-mode .user-avatar {
    background: linear-gradient(135deg, #3056d3, #2541c4);
    color: white;
}

body.dark-mode .theme-toggle,
body.dark-mode .contact-btn {
    background: #0f1626;
    border-color: #2a3f5f;
    color: #e0e0e0;
}

body.dark-mode .theme-toggle:hover,
body.dark-mode .contact-btn:hover {
    background: #1a2b44;
    color: #ffffff;
}

/* Sidebar en modo oscuro */
body.dark-mode .sidebar {
    background: #16213e;
    border-right-color: #0f1626;
}

body.dark-mode .sidebar-header {
    border-bottom-color: #0f1626;
}

body.dark-mode .sidebar-logo {
    background: #16213e;
    border-bottom-color: #0f1626;
}

body.dark-mode .menu-toggle {
    background: #0f1626;
    border-color: #2a3f5f;
    color: #e0e0e0;
}

body.dark-mode .menu-toggle:hover {
    background: #1a2b44;
}

body.dark-mode .profile-section {
    background: linear-gradient(135deg, #3056d3, #2541c4);
}

body.dark-mode .nav-item {
    color: #b0b0b0;
}

body.dark-mode .nav-item:hover,
body.dark-mode .nav-item.active {
    background: #0f1626;
    color: #ffffff;
}

body.dark-mode .nav-item.inactive {
    background: #0f1626;
    opacity: 0.5;
}

/* Modo oscuro para submenu */
body.dark-mode .nav-submenu {
    background: #0f1626;
    border-left-color: #3056d3;
}

body.dark-mode .nav-subitem {
    color: #b0b0b0;
    border-bottom-color: #2a3f5f;
}

body.dark-mode .nav-subitem:hover {
    background: #1a2b44;
    color: #3056d3;
}

/* Main content en modo oscuro */
body.dark-mode .main-content {
    background: #1a1a2e;
}

body.dark-mode .content-container {
    background: #16213e;
    border-color: #0f1626;
}

/* Botones de acción en modo oscuro */
body.dark-mode .action-button {
    background: #0f1626;
    border-color: #2a3f5f;
    color: #e0e0e0;
}

body.dark-mode .action-button:hover {
    background: #1a2b44;
    transform: translateY(-2px);
}

body.dark-mode .primary-button {
    background: linear-gradient(135deg, #3056d3, #2541c4);
    color: white;
}

body.dark-mode .primary-button:hover {
    background: linear-gradient(135deg, #2541c4, #3056d3);
}

/* Tarjetas de servicios bancarios en modo oscuro */
body.dark-mode .banking-card,
body.dark-mode .service-card-additional {
    background: #0f1626;
    border-color: #2a3f5f;
}

body.dark-mode .banking-card:hover,
body.dark-mode .service-card-additional:hover {
    background: #1a2b44;
    border-color: #3056d3;
}

body.dark-mode .banking-info h3,
body.dark-mode .service-info h3 {
    color: #ffffff;
}

body.dark-mode .banking-info p,
body.dark-mode .service-info p {
    color: #b0b0b0;
}

body.dark-mode .tag {
    background: #3056d3;
    color: white;
}

/* Títulos de secciones en modo oscuro */
body.dark-mode .section-title {
    color: #ffffff;
}

/* Modales en modo oscuro */
body.dark-mode .modal-content {
    background: #16213e;
    color: #e0e0e0;
}

body.dark-mode .modal-header {
    background: linear-gradient(135deg, #3056d3, #2541c4);
    border-bottom-color: #0f1626;
}

body.dark-mode .modal-header h2 {
    color: white;
}

body.dark-mode .close-button {
    color: white;
}

body.dark-mode .back-button {
    color: #e0e0e0;
}

body.dark-mode .form-input,
body.dark-mode .form-select,
body.dark-mode textarea {
    background: #0f1626;
    border-color: #2a3f5f;
    color: #e0e0e0;
}

body.dark-mode .form-input:focus,
body.dark-mode .form-select:focus,
body.dark-mode textarea:focus {
    border-color: #3056d3;
    background: #1a2b44;
}

body.dark-mode .form-label {
    color: #e0e0e0;
}

body.dark-mode .submit-button {
    background: linear-gradient(135deg, #3056d3, #2541c4);
}

body.dark-mode .submit-button:hover {
    background: linear-gradient(135deg, #2541c4, #3056d3);
}

/* Campos de cantidad en modo oscuro */
body.dark-mode .currency-symbol {
    background: #0f1626;
    border-color: #2a3f5f;
    color: #e0e0e0;
}

/* Radio buttons personalizados en modo oscuro */
body.dark-mode .radio-option {
    background: #0f1626;
    border-color: #2a3f5f;
}

body.dark-mode .radio-option:hover {
    background: #1a2b44;
    border-color: #3056d3;
}

body.dark-mode .radio-custom {
    border-color: #2a3f5f;
    background: #0f1626;
}

body.dark-mode input[type="radio"]:checked + .radio-custom {
    background: #3056d3;
    border-color: #3056d3;
}

body.dark-mode .radio-label {
    color: #e0e0e0;
}

/* Transición suave para el cambio de modo */
body,
.navbar,
.sidebar,
.main-content,
.content-container,
.banking-card,
.service-card-additional,
.modal-content,
.form-input,
.form-select,
.action-button {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

