 /* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

/* Header Styles - Simplified */
.header {
    background: rgba(0, 0, 0, 0.45);
    color: white;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background-image: linear-gradient(270deg, #000000, #000000);
    background-size: 400% 400%;
    animation: backgroundGradient 15s ease infinite;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    z-index: 1002;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.mobile-sidebar.active {
    right: 0;
}

.mobile-sidebar-content {
    padding: 2rem 1.5rem;
    padding-top: 4rem;
}

.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.mobile-nav-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-btn.primary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-color: rgba(255, 255, 255, 0.3);
}

.mobile-nav-btn.primary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Logout button style to match register button */
.auth-btn.logout {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.auth-btn.logout:hover {
    background: linear-gradient(135deg, #ff5252 0%, #ff7043 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.5);
}

.auth-btn.logout:active {
    transform: translateY(-2px) scale(1.02);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    z-index: 1002;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.mobile-sidebar.active {
    right: 0;
}

.mobile-sidebar-content {
    padding: 2rem 1.5rem;
    padding-top: 4rem;
}

.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.mobile-nav-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-btn.primary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-color: rgba(255, 255, 255, 0.3);
}

.mobile-nav-btn.primary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.5);
}

.mobile-user-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

/* Desktop Menu */
.desktop-menu {
    display: flex;
}

@keyframes backgroundGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-logo-img {
    height: 156px;
    width: 156px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.header-logo-img:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}
.footer-logo {
    height: 125px;
    width: 125px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.brand-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.auth-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(15px);
}

/* Botón Iniciar Sesión - Azul vibrante con gradiente */
.auth-btn:not(.primary):not(.logout) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.auth-btn:not(.primary):not(.logout):hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
}

.auth-btn:not(.primary):not(.logout):active {
    transform: translateY(-2px) scale(1.02);
}

/* Botón Registrarse - Naranja/Rosa vibrante con gradiente */
.auth-btn.primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.auth-btn.primary:hover {
    background: linear-gradient(135deg, #ff5252 0%, #ff7043 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.5);
}

.auth-btn.primary:active {
    transform: translateY(-2px) scale(1.02);
}

/* Botón Cerrar Sesión - Rojo vibrante con gradiente */
.auth-btn.logout {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.auth-btn.logout:hover {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.5);
}

.auth-btn.logout:active {
    transform: translateY(-2px) scale(1.02);
}

/* Efecto de brillo para todos los botones */
.auth-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.auth-btn:hover::before {
    left: 100%;
}

/* Efecto de pulso en focus */
.auth-btn:focus {
    outline: none;
    animation: authButtonPulse 0.6s ease-in-out;
}

@keyframes authButtonPulse {
    0% {
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 12px 40px rgba(102, 126, 234, 0.7);
    }
    100% {
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    }
}

/* Efecto de ondas al hacer clic */
.auth-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.auth-btn:active::after {
    width: 300px;
    height: 300px;
}

.user-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Admin Panel Styles - Ultra Modern & Elegant */
.admin-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8fafc;
    z-index: 1500;
    overflow-y: auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.admin-header {
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.95) 0%, rgba(26, 26, 46, 0.95) 100%);
    backdrop-filter: blur(20px);
    color: white;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c, #667eea);
    background-size: 300% 300%;
    animation: gradientFlow 4s ease infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.admin-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 50%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
    letter-spacing: -0.02em;
    position: relative;
}

.admin-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.6);
}

.close-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 25px rgba(239, 68, 68, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.close-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.close-btn:hover::before {
    left: 100%;
}

.close-btn:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(239, 68, 68, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 3rem;
    background: #f8fafc;
}

.stat-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 3px solid;
    color: #1a202c;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.stat-card:hover::after {
    transform: scale(1);
}

.stat-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.2),
        0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Colores específicos para cada tarjeta - MÁS VISIBLES */
.stat-card:nth-child(1) {
    border-color: #3b82f6;
    background: linear-gradient(145deg, #dbeafe 0%, #bfdbfe 100%);
}

.stat-card:nth-child(1)::before {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.stat-card:nth-child(1):hover {
    box-shadow: 
        0 30px 60px rgba(59, 130, 246, 0.3),
        0 15px 35px rgba(59, 130, 246, 0.2);
    border-color: #1d4ed8;
}

.stat-card:nth-child(2) {
    border-color: #10b981;
    background: linear-gradient(145deg, #d1fae5 0%, #a7f3d0 100%);
}

.stat-card:nth-child(2)::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.stat-card:nth-child(2):hover {
    box-shadow: 
        0 30px 60px rgba(16, 185, 129, 0.3),
        0 15px 35px rgba(16, 185, 129, 0.2);
    border-color: #059669;
}

.stat-card:nth-child(3) {
    border-color: #f59e0b;
    background: linear-gradient(145deg, #fef3c7 0%, #fed7aa 100%);
}

.stat-card:nth-child(3)::before {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.stat-card:nth-child(3):hover {
    box-shadow: 
        0 30px 60px rgba(245, 158, 11, 0.3),
        0 15px 35px rgba(245, 158, 11, 0.2);
    border-color: #d97706;
}

.stat-card:nth-child(4) {
    border-color: #ef4444;
    background: linear-gradient(145deg, #fee2e2 0%, #fecaca 100%);
}

.stat-card:nth-child(4)::before {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.stat-card:nth-child(4):hover {
    box-shadow: 
        0 30px 60px rgba(239, 68, 68, 0.3),
        0 15px 35px rgba(239, 68, 68, 0.2);
    border-color: #dc2626;
}

.stat-card h3 {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #374151;
}

.stat-card .stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #1a202c;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-card .stat-subtitle {
    font-size: 0.85rem;
    opacity: 0.7;
    font-weight: 500;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Iconos para las tarjetas con colores específicos */
.stat-card:nth-child(1) .stat-number {
    color: #1d4ed8;
}

.stat-card:nth-child(2) .stat-number {
    color: #059669;
}

.stat-card:nth-child(3) .stat-number {
    color: #d97706;
}

.stat-card:nth-child(4) .stat-number {
    color: #dc2626;
}

/* Admin Tabs - Colores Más Oscuros y Distintivos */
.admin-tabs {
    display: flex;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    padding: 0 2rem;
    border-bottom: 3px solid #4b5563;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tab-btn {
    padding: 1.2rem 2.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: #d1d5db;
    border-bottom: 4px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-btn:hover::before {
    opacity: 1;
}

.tab-btn.active {
    color: #ffffff;
    border-bottom-color: #fbbf24;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2));
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    transform: translateY(-2px);
}

.tab-btn:hover {
    color: #f3f4f6;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    transform: translateY(-1px);
}

.tab-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.tab-content {
    display: none;
    padding: 2rem;
}

.tab-content.active {
    display: block;
}

/* Numbers Grid for Admin */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 0.5rem;
    max-height: 500px;
    overflow-y: auto;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
}

.number-item {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.number-item.available {
    background: #10b981;
    color: white;
}

.number-item.sold {
    background: #ef4444;
    color: white;
}

/* Summary Cards */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.summary-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #667eea;
}

.summary-card h4 {
    color: #374151;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.summary-card p {
    margin-bottom: 0.5rem;
    color: #6b7280;
    font-size: 0.95rem;
}

/* Tables */
.purchases-table {
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: white;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

tr:hover {
    background: #f9fafb;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-pending {
    background-color: #f59e0b;
    color: white;
}

.status-approved {
    background-color: #10b981;
    color: white;
}

.status-rejected {
    background-color: #ef4444;
    color: white;
}

.status-no-payment {
    background-color: #6b7280;
    color: white;
}

/* Action Buttons */
.detail-btn, .approve-btn, .reject-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.detail-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.detail-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.approve-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.approve-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.reject-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.reject-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #333;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 400'%3E%3Cdefs%3E%3Cpattern id='lottery-pattern' x='0' y='0' width='300' height='300' patternUnits='userSpaceOnUse'%3E%3C!-- Círculos con números de lotería --%3E%3Ccircle cx='75' cy='75' r='35' fill='none' stroke='white' stroke-width='3' opacity='0.15'/%3E%3Ctext x='75' y='83' text-anchor='middle' font-family='Arial Black' font-size='20' font-weight='900' fill='white' opacity='0.2'%3E777%3C/text%3E%3Ccircle cx='225' cy='75' r='35' fill='none' stroke='white' stroke-width='3' opacity='0.15'/%3E%3Ctext x='225' y='83' text-anchor='middle' font-family='Arial Black' font-size='20' font-weight='900' fill='white' opacity='0.2'%3E888%3C/text%3E%3Ccircle cx='75' cy='225' r='35' fill='none' stroke='white' stroke-width='3' opacity='0.15'/%3E%3Ctext x='75' y='233' text-anchor='middle' font-family='Arial Black' font-size='20' font-weight='900' fill='white' opacity='0.2'%3E999%3C/text%3E%3Ccircle cx='225' cy='225' r='35' fill='none' stroke='white' stroke-width='3' opacity='0.15'/%3E%3Ctext x='225' y='233' text-anchor='middle' font-family='Arial Black' font-size='20' font-weight='900' fill='white' opacity='0.2'%3E000%3C/text%3E%3C!-- Siluetas de dados --%3E%3Crect x='40' y='40' width='20' height='20' rx='3' fill='white' opacity='0.08'/%3E%3Ccircle cx='45' cy='45' r='2' fill='black' opacity='0.1'/%3E%3Ccircle cx='55' cy='55' r='2' fill='black' opacity='0.1'/%3E%3Crect x='240' y='40' width='20' height='20' rx='3' fill='white' opacity='0.08'/%3E%3Ccircle cx='245' cy='45' r='1.5' fill='black' opacity='0.1'/%3E%3Ccircle cx='250' cy='50' r='1.5' fill='black' opacity='0.1'/%3E%3Ccircle cx='255' cy='55' r='1.5' fill='black' opacity='0.1'/%3E%3C!-- Siluetas de cartas --%3E%3Crect x='130' y='30' width='40' height='60' rx='5' fill='white' opacity='0.06'/%3E%3Ctext x='150' y='50' text-anchor='middle' font-family='serif' font-size='16' font-weight='bold' fill='black' opacity='0.08'%3EA%3C/text%3E%3Cpath d='M140 70 L145 75 L155 75 L160 70' fill='red' opacity='0.08'/%3E%3C!-- Siluetas de fichas de casino --%3E%3Ccircle cx='150' cy='150' r='25' fill='white' opacity='0.08'/%3E%3Ccircle cx='150' cy='150' r='20' fill='none' stroke='white' stroke-width='2' opacity='0.1'/%3E%3Ctext x='150' y='158' text-anchor='middle' font-family='Arial' font-size='14' font-weight='bold' fill='black' opacity='0.1'%3E100%3C/text%3E%3C!-- Patrones decorativos --%3E%3Cpath d='M30 150 L50 130 L70 150 L90 130 L110 150' stroke='white' stroke-width='3' fill='none' opacity='0.06'/%3E%3Cpath d='M190 150 L210 130 L230 150 L250 130 L270 150' stroke='white' stroke-width='3' fill='none' opacity='0.06'/%3E%3C!-- Estrellas de suerte --%3E%3Cpolygon points='50,200 55,210 65,210 57,218 60,228 50,222 40,228 43,218 35,210 45,210' fill='white' opacity='0.08'/%3E%3Cpolygon points='250,200 255,210 265,210 257,218 260,228 250,222 240,228 243,218 235,210 245,210' fill='white' opacity='0.08'/%3E%3C!-- Símbolos de dinero --%3E%3Ctext x='30' y='280' font-family='Arial Black' font-size='24' font-weight='900' fill='white' opacity='0.1'%3E%24%3C/text%3E%3Ctext x='270' y='280' font-family='Arial Black' font-size='24' font-weight='900' fill='white' opacity='0.1'%3E%24%3C/text%3E%3Ctext x='150' y='30' font-family='Arial Black' font-size='18' font-weight='900' fill='white' opacity='0.08'%3E%E2%82%AC%3C/text%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23lottery-pattern)'/%3E%3C/svg%3E");
    background-size: 600px 600px;
    background-repeat: repeat;
    opacity: 0.2;
    z-index: -1;
    animation: backgroundMove 45s linear infinite;
}

@keyframes backgroundMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 400px 400px;
    }
}

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

.header-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-logo-img {
    height: 156px;
    width: 156px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.header-logo-img:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.brand-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Minimalist Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.auth-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.auth-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.auth-btn:hover::before {
    left: 100%;
}

.auth-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.auth-btn.primary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-color: rgba(255, 255, 255, 0.3);
}

.auth-btn.primary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-icon {
    font-size: 1rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.auth-btn:hover .btn-icon {
    opacity: 1;
}

/* User Info Styles */
.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.preview-notice {
    font-size: 16px;
    color: #ffffff;
    text-align: center;
    font-weight: 500;
}

/* Main Content */
.main-content {
    padding: 2rem;
}

/* Promotion Section */
.promotion-section {
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    padding: 20rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

.promotion-images {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    border-radius: 20px;
    transform: scale(1);
    transform-origin: top center;
    animation: bannerAnimation 10s ease-in-out infinite alternate;
}

@keyframes bannerAnimation {
    0% {
        filter: brightness(1) saturate(1);
        transform: scale(1) translateY(0);
    }
    50% {
        filter: brightness(0.85) saturate(1.1);
        transform: scale(1.05) translateY(-10px);
    }
    100% {
        filter: brightness(1) saturate(1);
        transform: scale(1) translateY(0);
    }
}

.promo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 20px;
}

.promotion-content {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    margin: 2rem;
}


.promotion-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.promotion-date {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    position: absolute;
    bottom: 1.5rem;
    left: 2rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 600;
    color: #fff;
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease;
}

.promotion-price {
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    display: inline-block;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
    font-weight: 600;
    color: #fff;
    transition: opacity 0.3s ease;
}

.promotion-price {
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Purchase Section */
.purchase-section {
    margin: 3rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #374151;
}

/* Messages */
.message-container {
    position: fixed;
    top: 120px;
    right: 2rem;
    z-index: 3000;
}

.message {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: slideInRight 0.3s ease;
}

.message.success {
    background: #10b981;
    color: white;
}

.message.error {
    background: #ef4444;
    color: white;
}

.message.info {
    background: #3b82f6;
    color: white;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Header mobile - solo logo y título */
    .header-container {
        padding: 0 1rem;
        justify-content: space-between;
        align-items: center;
    }
    
    .header-brand {
        gap: 1rem;
    }
    
    .header-logo-img {
        height: 80px;
        width: 80px;
    }
    
    .brand-text {
        font-size: 1.3rem;
    }
    
    /* Ocultar menú desktop en móvil */
    .desktop-menu {
        display: none !important;
    }
    
    /* Mostrar botón hamburguesa */
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Sidebar móvil completo */
    .mobile-sidebar {
        width: 100vw;
        right: -100vw;
        background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    }
    
    .mobile-sidebar.active {
        right: 0;
    }
    
    .mobile-sidebar-content {
        padding: 3rem 2rem;
        padding-top: 5rem;
        height: 100vh;
        overflow-y: auto;
    }
    
    .mobile-auth-buttons {
        gap: 1.5rem;
    }
    
    .mobile-nav-btn {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        border-radius: 15px;
        justify-content: center;
    }
    
    .mobile-user-info {
        margin-top: 3rem;
        padding-top: 3rem;
    }
    
    /* Overlay completo */
    .mobile-sidebar-overlay {
        backdrop-filter: blur(5px);
    }
    
    .admin-stats {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .admin-tabs {
        flex-wrap: wrap;
        padding: 0 1rem;
    }
    
    .tab-content {
        padding: 1rem;
    }
    
    .numbers-grid {
        grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    }
    
    .summary-cards {
        grid-template-columns: 1fr;
    }
    
    .purchases-table {
        font-size: 0.875rem;
    }
    
    .message-container {
        right: 1rem;
        left: 1rem;
        top: 100px;
    }
    
    /* Hide promotion title on mobile */
    .promotion-title {
        display: none !important;
    }
    
    /* Make quantity-input-group take full container width on mobile */
    .quantity-input-group {
        width: 100% !important;
        max-width: none !important;
    }
}

@media (max-width: 480px) {
    /* Header móvil más compacto */
    .header {
        padding: 1rem 0;
    }
    
    .header-container {
        padding: 0 0.5rem;
    }
    
    .header-logo-img {
        height: 60px;
        width: 60px;
    }
    
    .brand-text {
        font-size: 1.1rem;
    }
    
    /* Sidebar móvil ajustado */
    .mobile-sidebar-content {
        padding: 2rem 1.5rem;
        padding-top: 4rem;
    }
    
    .mobile-nav-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .admin-header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .admin-header h2 {
        font-size: 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-card .stat-number {
        font-size: 2rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
    }
}

/* Ticket Search Section */
.ticket-search-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    border: 2px solid #e5e7eb;
}

.ticket-search-section h3 {
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.search-container {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-container input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
}

.search-container input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Quantity Selection Section */
.quantity-selection-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    border: 2px solid #e5e7eb;
}

.quantity-selection-section h3 {
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.quantity-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Quantity Input Group with + and - buttons */
.quantity-input-group {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.quantity-input-group:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.quantity-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.quantity-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.quantity-btn:hover::before {
    left: 100%;
}

.quantity-btn:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: scale(1.05);
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-btn.decrease {
    border-radius: 0;
}

.quantity-btn.increase {
    border-radius: 0;
}

.quantity-input-group input {
    width: 200px;
    padding: 0.75rem 1rem;
    border: none;
    font-size: 1rem;
    text-align: center;
    background: transparent;
    color: #374151;
    font-weight: 600;
}

.quantity-input-group input:focus {
    outline: none;
}

.quantity-input-group input::placeholder {
    color: #9ca3af;
    font-weight: normal;
}

/* Responsive para quantity input group */
@media (max-width: 768px) {
    .quantity-input-group {
        width: 100%;
        max-width: 280px;
    }
    
    .quantity-input-group input {
        width: 150px;
    }
    
    .quantity-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .quantity-input-group input {
        width: 120px;
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .quantity-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Selected Numbers Display */
.selected-numbers-display {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    min-height: 80px;
}

.selected-numbers-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quantity-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 10px;
    border: 1px solid #cbd5e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.quantity-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 0.95rem;
}

.quantity-value {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.quantity-value:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.selected-numbers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.selected-number-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #667eea;
    color: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

.selected-number-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

/* Numbers Grid Container */
.numbers-grid-container {
    margin-top: 2rem;
}

.numbers-grid-container h3 {
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Search Alerts */
.search-alert {
    position: fixed;
    top: 120px;
    right: 2rem;
    z-index: 3000;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: slideInRight 0.3s ease;
    max-width: 300px;
}

.search-alert.success {
    background: #10b981;
    color: white;
}

.search-alert.error {
    background: #ef4444;
    color: white;
}

/* Payment Alerts */
.payment-alert {
    position: fixed;
    top: 160px;
    right: 2rem;
    z-index: 3000;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: slideInRight 0.3s ease;
    max-width: 300px;
}

.payment-alert.success {
    background: #10b981;
    color: white;
}

.payment-alert.error {
    background: #ef4444;
    color: white;
}

/* Reserved Number Style */
.number.reserved {
    background: #3b82f6;
    color: white;
    cursor: not-allowed;
    opacity: 0.8;
}

.number-item.reserved {
    background: #3b82f6;
    color: white;
}

/* Payment Registration Form */
.payment-registration-form {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.payment-registration-form h4 {
    color: #374151;
    margin-bottom: 1rem;
    font-weight: 600;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* User Payments Section */
.user-payments-section {
    margin-top: 2rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 15px;
    border: 2px solid #e5e7eb;
}

.user-payments-section h3 {
    color: #374151;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.payments-list {
    display: grid;
    gap: 1rem;
}

.payment-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.payment-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.payment-method-name {
    font-weight: 600;
    color: #374151;
}

.payment-item-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6b7280;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Fade In Animation */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Ticket Search Section */
.ticket-search-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    border: 2px solid #e5e7eb;
}

.ticket-search-section h3 {
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.search-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

#ticketSearchInput {
    flex: 1;
    min-width: 250px;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
}

#ticketSearchInput:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Color Legend */
.color-legend {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid transparent;
}

.legend-color.available {
    background: #10b981;
}

.legend-color.reserved {
    background: #3b82f6;
}

.legend-color.sold {
    background: #ef4444;
}

/* Search Alert */
.search-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ef4444;
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 3000;
    animation: alertSlideIn 0.3s ease;
    font-weight: 500;
}

.search-alert.success {
    background: #10b981;
}

@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}


.user-purchases-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 15px;
    border: 2px solid #e5e7eb;
}

/* User Tabs System */
.user-tabs-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.user-tabs {
    display: flex;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px 15px 0 0;
}

.user-tab-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-bottom: 3px solid transparent;
}

.user-tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.user-tab-btn.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-bottom-color: #ffd93d;
    font-weight: 600;
}

.tab-icon {
    font-size: 1.2rem;
}

.user-tab-content {
    padding: 2rem;
    background: white;
    border-radius: 0 0 15px 15px;
}

.user-tab-panel {
    display: none;
}

.user-tab-panel.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.user-tab-panel h3 {
    color: #374151;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive para pestañas de usuario */
@media (max-width: 768px) {
    .user-tabs {
        flex-direction: column;
    }
    
    .user-tab-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        border-bottom: none;
        border-right: 3px solid transparent;
    }
    
    .user-tab-btn.active {
        border-bottom: none;
        border-right-color: #ffd93d;
    }
    
    .user-tab-content {
        padding: 1.5rem;
    }
    
    .tab-icon {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .user-tab-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .user-tab-content {
        padding: 1rem;
    }
}

/* User Payments Section */
.user-payments-section {
    margin-top: 2rem;
}

.user-payments-section h4 {
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.payments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.payment-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.payment-numbers {
    font-size: 0.9rem;
    color: #374151;
    font-weight: 500;
}

.payment-total {
    font-size: 0.9rem;
    color: #6b7280;
}

.payment-status {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .payment-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .payment-status {
        width: 100%;
        justify-content: flex-start;
    }
}

.user-purchases-section h3 {
    color: #374151;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.user-numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 0.5rem;
    margin-bottom: 2rem;
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    border: 1px solid #d1d5db;
}

.user-number {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #10b981;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.user-purchases-summary {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #d1d5db;
}

.user-purchases-summary p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #374151;
}

/* Numbers Grid for Purchase */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 0.5rem;
    margin-bottom: 2rem;
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
}

.number {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.number.available {
    background: #10b981;
    color: white;
}

.number.available:hover {
    background: #059669;
    transform: scale(1.05);
}

.number.sold {
    background: #ef4444;
    color: white;
    cursor: not-allowed;
    opacity: 0.7;
}

.number.reserved {
    background: #3b82f6;
    color: white;
    cursor: not-allowed;
    opacity: 0.8;
}

.number.selected {
    background: #667eea;
    color: white;
    border-color: #4f46e5;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Purchase Container */
.purchase-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.number-selection h3 {
    color: #374151;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.selection-info {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 2rem;
    border: 1px solid #e5e7eb;
}

.selection-info p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #374151;
}

.purchase-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn.secondary {
    background: #f3f4f6;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.btn.secondary:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

/* Payment Modal */
.payment-summary {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 1px solid #e5e7eb;
}

.payment-summary h3 {
    color: #374151;
    margin-bottom: 1rem;
    font-weight: 600;
}

.payment-summary p {
    margin-bottom: 0.5rem;
    color: #6b7280;
}

.payment-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Purchase Detail Modal */
.purchase-detail-modal {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.detail-section {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
}

.detail-section h3 {
    color: #374151;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.detail-section p {
    margin-bottom: 0.5rem;
    color: #6b7280;
}

.whatsapp-link {
    color: #25d366;
    text-decoration: none;
    font-weight: 600;
}

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

#adminNotes {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
}

#adminNotes:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.detail-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.btn.success:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.btn.danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.btn.danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
}

/* Session Timeout Warning */
.session-warning {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ef4444;
    color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 3000;
    text-align: center;
    max-width: 400px;
}

.session-warning h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.session-warning p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.session-warning .btn {
    background: white;
    color: #ef4444;
    font-weight: 600;
}

.session-warning .btn:hover {
    background: #f3f4f6;
}

/* Estilos para modal de métodos de pago */
.payment-modal {
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.payment-methods-section {
    margin: 20px 0;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.payment-method-card {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.payment-method-card:hover {
    border-color: #007bff;
    box-shadow: 0 4px 8px rgba(0,123,255,0.2);
    transform: translateY(-2px);
}

.payment-method-card.selected {
    border-color: #007bff;
    background-color: #f8f9ff;
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

.payment-method-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.payment-method-name {
    font-weight: bold;
    color: #333;
    font-size: 0.9em;
}

.payment-method-info {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.payment-method-info h4 {
    margin-top: 0;
    color: #007bff;
}

.payment-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin: 15px 0;
}

.payment-instructions {
    margin-top: 15px;
}

.payment-instructions ol {
    padding-left: 20px;
}

.payment-instructions li {
    margin: 5px 0;
}

/* Estilos para el selector de estado de pago */
.payment-status-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 14px;
    min-width: 120px;
}

.payment-status-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

/* Botones de acción adicionales */
.btn.warning {
    background-color: #ffc107;
    color: #212529;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin: 2px;
    transition: background-color 0.3s ease;
}

.btn.warning:hover {
    background-color: #e0a800;
}

/* Estilos para alertas de pago */
.payment-alert {
    position: fixed;
    top: 120px;
    right: 2rem;
    z-index: 3500;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: slideInRight 0.3s ease;
    max-width: 400px;
    font-weight: 500;
}

.payment-alert.success {
    background: #10b981;
    color: white;
}

.payment-alert.error {
    background: #ef4444;
    color: white;
}

/* Estilos para formulario de registro de pago */
.payment-registration-form {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #007bff;
}

.payment-registration-form h4 {
    margin-top: 0;
    color: #007bff;
    margin-bottom: 20px;
}

.payment-registration-form .form-group {
    margin-bottom: 15px;
}

.payment-registration-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.payment-registration-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.payment-registration-form input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.payment-registration-form input[readonly] {
    background-color: #f8f9fa;
    color: #6c757d;
}

.payment-registration-form .form-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.payment-registration-form .form-actions button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.payment-registration-form .btn.primary {
    background: #007bff;
    color: white;
}

.payment-registration-form .btn.primary:hover {
    background: #0056b3;
}

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

.payment-registration-form .btn.secondary:hover {
    background: #545b62;
}

/* Estilos para lista de pagos en el panel del usuario */
.payments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.payment-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.payment-numbers {
    font-weight: 600;
    color: #374151;
}

.payment-total {
    color: #10b981;
    font-weight: 500;
}

.payment-status {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-status .status-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .payment-modal {
        width: 95%;
        margin: 10px;
    }
    
    .payment-methods-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .payment-method-card {
        padding: 15px 10px;
    }
    
    .payment-method-icon {
        font-size: 2em;
    }
    
    .payment-info-grid {
        grid-template-columns: 1fr;
    }
    
    .purchase-detail-modal {
        width: 95%;
        margin: 10px;
    }
    
    .detail-actions {
        flex-direction: column;
    }
    
    .detail-actions button {
        width: 100%;
        margin: 5px 0;
    }
    
    .payment-alert {
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
    
    .payment-registration-form .form-actions {
        flex-direction: column;
    }
    
    .payment-registration-form .form-actions button {
        width: 100%;
    }
    
    .payment-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .payment-status {
        width: 100%;
        justify-content: space-between;
    }
}

/* Estilos para formularios de configuración - Enhanced */
.config-form {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 1px 8px rgba(0, 0, 0, 0.06);
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.config-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
}

.config-form h3 {
    color: #2d3748;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 3D Payment Cards */
.payment-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.payment-info-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    padding: 1rem 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
    perspective: 1000px;
}

.payment-info-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.bank-icon {
    font-size: 2rem;
}

.card-body {
    font-size: 0.9rem;
    color: #555;
}

.info-item {
    margin-bottom: 0.5rem;
}

.info-label {
    font-weight: 600;
    color: #333;
}

.info-value {
    margin-left: 0.5rem;
    color: #666;
}

/* Styled select for bank selector */
.styled-select {
    width: 100%;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 2px solid #667eea;
    background-color: white;
    font-size: 1rem;
    color: #333;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2210%22%20height%3D%227%22%20viewBox%3D%220%200%2010%207%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M0%200l5%207%205-7z%22%20fill%3D%22%236677ee%22/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 10px 7px;
    cursor: pointer;
}

.styled-select:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3);
}

.config-form .form-group {
    margin-bottom: 1.5rem;
}

.config-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.config-form input[type="text"],
.config-form input[type="email"],
.config-form input[type="url"],
.config-form input[type="tel"],
.config-form input[type="number"],
.config-form input[type="date"],
.config-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.config-form input:focus,
.config-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.config-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* Estilos para carga de imágenes */
.image-upload-section {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px dashed #d1d5db;
    text-align: center;
    margin: 1rem 0;
    transition: all 0.3s ease;
}

.image-upload-section:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.image-upload-input {
    display: none;
}

.image-upload-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.image-upload-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.image-preview {
    margin-top: 1rem;
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Estilos para sección de premios */
.prizes-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.prizes-actions {
    margin-bottom: 2rem;
    text-align: center;
}

.prizes-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.prize-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.prize-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.prize-card h4 {
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.prize-card p {
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.prize-image {
    width: 100%;
    height: 800px;
    max-height: none;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    margin: 1rem 0;
    background: #f8fafc;
    transition: transform 0.4s ease;
}

.prize-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.prize-actions button {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.edit-prize-btn {
    background: #f59e0b;
    color: white;
}

.edit-prize-btn:hover {
    background: #d97706;
}

.delete-prize-btn {
    background: #ef4444;
    color: white;
}

.delete-prize-btn:hover {
    background: #dc2626;
}

/* Estilos para botones de selección */
.btn.generate {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.btn.generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.btn.regenerate {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.btn.regenerate:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

/* Estilos para estadísticas mejoradas */
.stat-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0.25rem;
    min-width: 80px;
    text-align: center;
}

.stat-label.approved {
    background: #10b981;
    color: white;
}

.stat-label.pending {
    background: #f59e0b;
    color: white;
}

.stat-label.rejected {
    background: #ef4444;
    color: white;
}

.stat-label.revenue {
    background: #667eea;
    color: white;
}

.stat-label.potential {
    background: #6b7280;
    color: white;
}

.summary-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Estilos para cartas 3D de información de pago */
.payment-methods-cards {
    margin: 20px 0;
}

.payment-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 15px 0;
}

.payment-info-card {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.payment-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 15px 15px 0 0;
}

.payment-info-card:hover {
    transform: translateY(-8px) rotateX(5deg);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(102, 126, 234, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.bank-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
}

.card-header h6 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 500;
    color: #4a5568;
    font-size: 0.9rem;
}

.info-value {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
    text-align: right;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Estilos para selectores estilizados */
.styled-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    background: linear-gradient(145deg, #ffffff, #f7fafc);
    color: #2d3748;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.styled-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 
        0 0 0 3px rgba(102, 126, 234, 0.1),
        0 4px 12px rgba(102, 126, 234, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.styled-select:hover {
    border-color: #cbd5e0;
    transform: translateY(-1px);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Información del banco seleccionado */
.selected-bank-info {
    margin-top: 15px;
    animation: fadeInUp 0.3s ease;
}

.selected-bank-card {
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.selected-bank-card h6 {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bank-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bank-details p {
    margin: 0;
    font-size: 0.85rem;
    color: #2d3748;
    display: flex;
    justify-content: space-between;
}

.bank-details strong {
    color: #4a5568;
    font-weight: 500;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efectos de hover mejorados para las cartas */
.payment-info-card {
    perspective: 1000px;
}

.payment-info-card:hover {
    animation: cardFloat 0.6s ease-in-out;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0) rotateX(0deg);
    }
    50% {
        transform: translateY(-8px) rotateX(5deg);
    }
}

/* Estilos responsivos para las cartas */
@media (max-width: 768px) {
    .payment-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .payment-info-card {
        padding: 15px;
    }
    
    .bank-icon {
        font-size: 1.5rem;
    }
    
    .card-header h6 {
        font-size: 1rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .info-value {
        text-align: left;
    }
}

/* Estilos para cartas 3D de información de pago */
.payment-methods-cards {
    margin: 20px 0;
}

.payment-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 15px 0;
}

.payment-info-card {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 
        20px 20px 60px #d9d9d9,
        -20px -20px 60px #ffffff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.payment-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 15px 15px 0 0;
}

.payment-info-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 
        25px 25px 80px #d0d0d0,
        -25px -25px 80px #ffffff,
        0 15px 30px rgba(102, 126, 234, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.bank-icon {
    font-size: 2.5em;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-header h6 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.info-label {
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
}

.info-value {
    font-weight: 700;
    color: #333;
    font-size: 0.95rem;
    text-align: right;
}

/* Selector estilizado */
.styled-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        inset 5px 5px 10px #e0e0e0,
        inset -5px -5px 10px #ffffff;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 45px;
}

.styled-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 
        0 0 0 3px rgba(102, 126, 234, 0.1),
        inset 3px 3px 6px #e0e0e0,
        inset -3px -3px 6px #ffffff;
    background: linear-gradient(145deg, #f8f9ff, #ffffff);
}

.styled-select:hover {
    border-color: #9ca3af;
    box-shadow: 
        inset 3px 3px 8px #d5d5d5,
        inset -3px -3px 8px #ffffff;
}

/* Información del banco seleccionado */
.selected-bank-info {
    margin-top: 15px;
    animation: fadeInUp 0.3s ease;
}

.selected-bank-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transform: perspective(1000px) rotateX(5deg);
    transition: all 0.3s ease;
}

.selected-bank-card:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.selected-bank-card h6 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

.bank-details p {
    margin: 5px 0;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
}

.bank-details strong {
    opacity: 0.8;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mejoras para el formulario de pago móvil */
.payment-registration-form {
    margin: 20px 0;
    padding: 25px;
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    border-radius: 15px;
    border: 2px solid #e5e7eb;
    box-shadow: 
        10px 10px 30px #e0e0e0,
        -10px -10px 30px #ffffff;
}

.payment-registration-form h4 {
    margin-top: 0;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
    font-size: 1.3rem;
}

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

.payment-registration-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.payment-registration-form input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    box-shadow: inset 2px 2px 5px #e0e0e0;
}

.payment-registration-form input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 
        0 0 0 3px rgba(102, 126, 234, 0.1),
        inset 2px 2px 5px #e0e0e0;
    background: linear-gradient(145deg, #f8f9ff, #ffffff);
}

.payment-registration-form input[readonly] {
    background: linear-gradient(145deg, #f0f0f0, #e8e8e8);
    color: #666;
    cursor: not-allowed;
}

/* Estilos para paginación */
.pagination-container {
    margin: 2rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #e5e7eb;
}

.pagination-info {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #e5e7eb;
    background: white;
    color: #374151;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.pagination-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f3f4f6;
    color: #9ca3af;
}

.pagination-jump {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.pagination-jump label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

.pagination-jump input {
    width: 80px;
    padding: 0.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
}

.pagination-jump input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Estilos para alertas de búsqueda mejoradas */
.search-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3000;
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: alertSlideIn 0.3s ease;
    font-weight: 500;
    max-width: 400px;
    text-align: center;
}

.search-alert.success {
    background: #10b981;
    color: white;
}

.search-alert.error {
    background: #ef4444;
    color: white;
}

.search-alert.warning {
    background: #f59e0b;
    color: white;
}

@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Estilos para sección de premios dinámicos */
.prizes-section {
    margin: 3rem 0;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.prizes-section .section-title {
    color: #374151;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.prize-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    text-align: center;
}

.prize-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.prize-image-list {
    max-width: 150px;
    max-height: 150px;
    border-radius: 8px;
    margin-top: 8px;
    object-fit: contain;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: #f8fafc;
}

.prize-image-container {
    text-align: center;
    margin-bottom: 8px;
}

.prize-title {
    color: #374151;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.prize-description {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Mejoras para números paginados */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
    max-height: 500px;
    overflow-y: auto;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
}

.number {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
}

.number.available {
    background: #10b981;
    color: white;
}

.number.available:hover {
    background: #059669;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.number.sold {
    background: #ef4444;
    color: white;
    cursor: not-allowed;
    opacity: 0.7;
}

.number.reserved {
    background: #3b82f6;
    color: white;
    cursor: not-allowed;
    opacity: 0.8;
}

.number.selected {
    background: #667eea;
    color: white;
    border-color: #4f46e5;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    z-index: 10;
}


/* Responsive adicional para configuración */
@media (max-width: 768px) {
    .config-form {
        padding: 1rem;
        margin: 1rem;
    }
    
    .prizes-list {
        grid-template-columns: 1fr;
    }
    
    .prizes-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .prize-card {
        padding: 1rem;
    }
    
    .summary-stats {
        justify-content: center;
    }
    
    .stat-label {
        font-size: 1rem;
        min-width: 70px;
    }
    
    .payment-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .payment-info-card {
        padding: 15px;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .bank-icon {
        font-size: 2em;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .info-value {
        text-align: left;
        font-size: 1rem;
    }
    
    .styled-select {
        padding: 10px 12px;
        padding-right: 40px;
        background-size: 18px;
    }
    
    .selected-bank-card {
        transform: none;
        padding: 12px;
    }
    
    .selected-bank-card:hover {
        transform: translateY(-3px);
    }
    
    .bank-details p {
        flex-direction: column;
        gap: 2px;
    }
    
    .payment-registration-form {
        padding: 15px;
        margin: 15px 0;
    }
    
    /* Paginación responsive */
    .pagination-controls {
        gap: 0.25rem;
    }
    
    .pagination-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        min-width: 35px;
    }
    
    .pagination-jump {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pagination-jump input {
        width: 100px;
    }
    
    .numbers-grid {
        grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
        max-height: 400px;
    }
    
    .search-alert {
        max-width: 90%;
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .pagination-controls {
        justify-content: center;
    }
    
    .pagination-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
        min-width: 30px;
    }
    
    .numbers-grid {
        grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
        gap: 0.3rem;
        padding: 0.5rem;
    }
    
    .number {
        font-size: 0.8rem;
    }
    
    .prizes-section {
        padding: 1rem;
        margin: 2rem 0;
    }
    
    .prizes-section .section-title {
        font-size: 1.5rem;
    }
}

/* Animaciones adicionales */
@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.payment-info-card:nth-child(odd) {
    animation: cardFloat 6s ease-in-out infinite;
}

.payment-info-card:nth-child(even) {
    animation: cardFloat 6s ease-in-out infinite reverse;
}

/* Efectos de hover mejorados */
.payment-info-card:hover .bank-icon {
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.3s ease;
}

.payment-info-card:hover .card-header h6 {
    color: #667eea;
    transition: color 0.3s ease;
}

.styled-select:focus + .selected-bank-info .selected-bank-card {
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0% {
        transform: perspective(1000px) rotateX(5deg) scale(1);
    }
    50% {
        transform: perspective(1000px) rotateX(0deg) scale(1.05);
    }
    100% {
        transform: perspective(1000px) rotateX(5deg) scale(1);
    }
}

/* Estilos elegantes y minimalistas para premios con efectos */
.prizes-section {
    margin: 4rem 0;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 25px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.prizes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
}

.prizes-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.prizes-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.prize-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 1px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transform: translateY(0);
    opacity: 0;
}

.prize-card.animate-in {
    opacity: 1;
    animation: prizeCardSlideIn 0.6s ease-out forwards;
}

@keyframes prizeCardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.prize-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

.prize-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.prize-card:hover::before {
    opacity: 1;
}

.prize-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}

.prize-card:hover .prize-shine {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.prize-image-container {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: #f8fafc;
    min-height: 800px;
    width: 100%;
}

.prize-image {
    width: 100%;
    height: 300px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
    border-radius: 15px;
    background: #f8fafc;
}

.prize-card:hover .prize-image {
    transform: scale(1.05);
}

.prize-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.prize-card:hover .prize-overlay {
    opacity: 1;
}

.prize-position {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    color: #667eea;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.prize-card:hover .prize-position {
    transform: scale(1);
}

.prize-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.prize-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.prize-card:hover .prize-icon {
    opacity: 1;
    transform: scale(1.1) rotate(5deg);
}

.prize-placeholder .prize-position {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.prize-content {
    position: relative;
    z-index: 2;
}

.prize-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #2d3748, #4a5568);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.prize-card:hover .prize-title {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateY(-2px);
}

.prize-description {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
}

.prize-card:hover .prize-description {
    color: #4a5568;
}

/* Efectos especiales para diferentes posiciones */
.prize-card:nth-child(1) {
    background: linear-gradient(145deg, #fff7ed, #ffffff);
    border: 2px solid #fed7aa;
}

.prize-card:nth-child(1):hover {
    box-shadow: 
        0 25px 50px rgba(251, 146, 60, 0.15),
        0 10px 25px rgba(251, 146, 60, 0.1);
    border-color: #fb923c;
}

.prize-card:nth-child(1) .prize-title {
    background: linear-gradient(135deg, #ea580c, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prize-card:nth-child(2) {
    background: linear-gradient(145deg, #f0f9ff, #ffffff);
    border: 2px solid #bae6fd;
}

.prize-card:nth-child(2):hover {
    box-shadow: 
        0 25px 50px rgba(59, 130, 246, 0.15),
        0 10px 25px rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
}

.prize-card:nth-child(2) .prize-title {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prize-card:nth-child(3) {
    background: linear-gradient(145deg, #f0fdf4, #ffffff);
    border: 2px solid #bbf7d0;
}

.prize-card:nth-child(3):hover {
    box-shadow: 
        0 25px 50px rgba(34, 197, 94, 0.15),
        0 10px 25px rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
}

.prize-card:nth-child(3) .prize-title {
    background: linear-gradient(135deg, #15803d, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animación de entrada escalonada */
.prize-card:nth-child(1) { animation-delay: 0.1s; }
.prize-card:nth-child(2) { animation-delay: 0.2s; }
.prize-card:nth-child(3) { animation-delay: 0.3s; }
.prize-card:nth-child(4) { animation-delay: 0.4s; }
.prize-card:nth-child(5) { animation-delay: 0.5s; }

/* Responsive para premios */
@media (max-width: 768px) {
    .prizes-section {
        margin: 2rem 0;
        padding: 2rem 1rem;
        border-radius: 20px;
    }
    
    .prizes-section .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .prizes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .prize-card {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .prize-image {
        height: 250px;
    }
    
    .prize-image-container {
        min-height: 250px;
    }
    
    .prize-placeholder {
        height: 250px;
    }
    
    .prize-title {
        font-size: 1.2rem;
    }
    
    .prize-description {
        font-size: 0.9rem;
    }

    /* Adjust banner section for mobile to be fully visible */
    .promotion-section {
        padding: 5rem 1rem 3rem 1rem;
        height: auto;
        min-height: 300px;
    }

    .promotion-images {
        position: relative;
        width: 100%;
        height: auto;
        max-height: 300px;
        transform: none;
        animation: none;
    }

    .promo-image {
        position: relative;
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: contain;
        border-radius: 20px;
    }

    /* Hide promotionTitle on mobile */
    .promotion-title {
        display: none !important;
    }

    /* Make quantity-input-group take full container width */
    .quantity-input-group {
        width: 100% !important;
        max-width: none !important;
    }
}

@media (max-width: 480px) {
    .prizes-section {
        margin: 1.5rem 0;
        padding: 1.5rem 0.5rem;
    }
    
    .prizes-section .section-title {
        font-size: 1.8rem;
    }
    
    .prize-card {
        padding: 1rem;
    }
    
    .prize-image {
        height: 200px;
    }
    
    .prize-image-container {
        min-height: 200px;
    }
    
    .prize-placeholder {
        height: 200px;
    }
    
    .prize-icon {
        font-size: 3rem;
    }
}

/* Animación de gradiente para el borde superior */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Efecto de brillo sutil */
@keyframes subtleGlow {
    0%, 100% { 
        box-shadow: 
            0 10px 30px rgba(0, 0, 0, 0.1),
            0 1px 8px rgba(0, 0, 0, 0.06);
    }
    50% { 
        box-shadow: 
            0 15px 35px rgba(0, 0, 0, 0.12),
            0 5px 15px rgba(102, 126, 234, 0.08);
    }
}

.prize-card:hover {
    animation: subtleGlow 2s ease-in-out infinite;
}

/* Contact Section Styles */
.contact-section {
    margin: 2rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.contact-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-item h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-item p {
    margin: 0.5rem 0;
    color: #555;
}

.contact-item a {
    color: #667eea;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .prizes-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Footer Styles - Minimalista y Profesional */
.footer {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-brand-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: white;
    transform: translateY(-1px);
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-contact {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-icon {
    font-size: 1rem;
}

.footer-contact-value {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.footer-contact-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-contact-link:hover {
    color: #ffffff;
    text-decoration: underline;
    transform: translateY(-1px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Filter Button Styles */
.filter-section {
    margin-bottom: 1rem;
    text-align: center;
}

.filter-btn {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    color: #495057;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.filter-btn.active:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
}

/* Estilos para la nueva sección unificada de gestión de tickets */
.ticket-management-card {
    margin: 2rem 0;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(102, 126, 234, 0.1);
    overflow: hidden;
    position: relative;
}

.ticket-management-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
}

.ticket-management-card .card-header {
    text-align: center;
    padding: 2rem 2rem 1rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
}

.ticket-management-card .card-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ticket-management-card .card-header p {
    color: #6b7280;
    font-size: 1rem;
    margin: 0;
}

.card-content {
    padding: 2rem;
}

.management-section {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.management-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

.section-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
    flex-shrink: 0;
}

.section-content {
    flex: 1;
}

.section-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
}

.divider span {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    z-index: 1;
}

/* Estilos para las páginas de políticas, FAQ y términos */
.policy-container,
.faq-container,
.terms-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.policy-hero,
.faq-hero,
.terms-hero {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.policy-hero::before,
.faq-hero::before,
.terms-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
}

.policy-title,
.faq-title,
.terms-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.policy-subtitle,
.faq-subtitle,
.terms-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.policy-date,
.terms-date {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.policy-content,
.terms-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.policy-section,
.terms-section {
    padding: 2.5rem;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}

.policy-section:last-child,
.terms-section:last-child {
    border-bottom: none;
}

.policy-section .section-icon,
.terms-section .section-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.policy-section h2,
.terms-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.policy-section h3,
.terms-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #374151;
    margin: 1.5rem 0 1rem;
}

.policy-section p,
.terms-section p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.policy-list,
.requirements-list,
.limitations-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.policy-list li,
.requirements-list li,
.limitations-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: #4a5568;
    line-height: 1.6;
}

.policy-list li:last-child,
.requirements-list li:last-child,
.limitations-list li:last-child {
    border-bottom: none;
}

.usage-grid,
.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.usage-card,
.feature-card {
    background: linear-gradient(145deg, #f8fafc, #ffffff);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.usage-card:hover,
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

.usage-icon,
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.usage-card h4,
.feature-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.usage-card p,
.feature-card p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

/* Estilos para FAQ */
.faq-search {
    max-width: 500px;
    margin: 2rem auto 0;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #6b7280;
}

.faq-categories {
    margin: 3rem 0;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.category-tab:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
}

.category-tab.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.faq-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-category {
    display: none;
    padding: 2rem;
}

.faq-category.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.category-icon {
    font-size: 2.5rem;
}

.category-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-item.active {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f1f5f9;
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin: 0;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: #4a5568;
    line-height: 1.7;
    margin: 0;
}

.faq-contact {
    margin-top: 3rem;
    text-align: center;
}

.contact-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-card p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive para páginas de contenido */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-logo-img {
        height: 40px;
        width: 40px;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
    
    .nav-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .nav-btn .icon {
        font-size: 1rem;
    }
    
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .footer-contact {
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-contact-item {
        font-size: 0.8rem;
    }
    
    .filter-btn {
        margin: 2px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    /* Responsive para gestión de tickets */
    .ticket-management-card .card-header {
        padding: 1.5rem 1rem 1rem;
    }
    
    .ticket-management-card .card-header h3 {
        font-size: 1.5rem;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .management-section {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1rem;
    }
    
    .section-icon {
        font-size: 2rem;
    }
    
    /* Responsive para páginas de contenido */
    .policy-container,
    .faq-container,
    .terms-container {
        padding: 0 1rem;
    }
    
    .policy-title,
    .faq-title,
    .terms-title {
        font-size: 2rem;
    }
    
    .policy-hero,
    .faq-hero,
    .terms-hero {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    
    .policy-section,
    .terms-section {
        padding: 1.5rem;
    }
    
    .usage-grid,
    .service-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-tabs {
        gap: 0.25rem;
    }
    
    .category-tab {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .faq-category {
        padding: 1rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-btn {
        width: 200px;
        justify-content: center;
    }
}


/* Dashboard Overview - Diseño Fresco y Moderno con Colores Visibles */
.dashboard-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.dashboard-section {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.12),
        0 5px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dashboard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
}

.dashboard-section:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.18),
        0 10px 25px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.4);
}

.dashboard-section h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.dashboard-section h4::before {
    content: '';
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.6);
}

/* Dashboard Light Theme */
.dashboard-light {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.dashboard-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dashboard-date {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.9rem;
    opacity: 0.9;
}

.date-label {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.date-value {
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

/* Sales Summary */
.sales-summary {
    display: grid;
    gap: 1.5rem;
}

.sales-item {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sales-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.sales-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

.sales-item:hover::before {
    width: 8px;
}

.sales-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sales-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.sales-value.success {
    color: #059669;
    background: linear-gradient(135deg, #059669, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sales-subtitle {
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 500;
}

.sales-progress {
    margin-top: 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: linear-gradient(135deg, #e5e7eb, #f3f4f6);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 4px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.progress-text {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Daily Sales Chart Styles */
.daily-sales-chart {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid #e5e7eb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    min-height: 400px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.chart-header h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.chart-legend {
    display: flex;
    gap: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #6b7280;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chart-container {
    display: flex;
    align-items: flex-end;
    height: 250px;
    position: relative;
    margin: 1rem 0;
}

.chart-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 40px;
    padding-right: 10px;
    border-right: 2px solid #e5e7eb;
}

.y-axis-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    text-align: right;
    line-height: 1;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    flex: 1;
    height: 100%;
    padding-left: 1rem;
}

.chart-bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 60px;
}

.chart-bar-wrapper {
    display: flex;
    align-items: flex-end;
    height: 200px;
    width: 100%;
    position: relative;
}

.chart-bar {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    opacity: 0;
    transform: scaleY(0);
    transform-origin: bottom;
}

.chart-bar:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: scaleY(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.bar-value {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 700;
    color: #1a202c;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.chart-bar-label {
    margin-top: 0.75rem;
    text-align: center;
}

.bar-day {
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bar-date {
    font-size: 0.7rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

.chart-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f1f5f9;
}

.summary-item {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.summary-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

/*.summary-label {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}*/
.summary-label {
    display: block;
    font-size: 0.95rem;
    color: #374151;
    font-weight: 700;
    margin-bottom: 0.5rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.summary-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a202c;
}

.chart-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #6b7280;
    font-size: 1rem;
    font-weight: 500;
}

.chart-loading::before {
    content: '📊';
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
    animation: chartPulse 2s ease-in-out infinite;
}

@keyframes chartPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Sales Summary - Diseño Mejorado con Colores Visibles */
.dashboard-stats {
    display: grid;
    gap: 1.5rem;
}

.dashboard-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    border-radius: 15px;
    border: 2px solid #cbd5e0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.dashboard-stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.dashboard-stat:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #f0f4ff, #e6fffa);
}

.dashboard-stat:hover::before {
    width: 10px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 700;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.stat-label::before {
    content: '📊';
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: #1a202c;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #2d3748, #4a5568);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Iconos específicos para cada estadística con colores más visibles */
.dashboard-stat:nth-child(1) .stat-label::before { 
    content: '✅'; 
    color: #38a169;
    filter: drop-shadow(0 2px 4px rgba(56, 161, 105, 0.3));
}
.dashboard-stat:nth-child(2) .stat-label::before { 
    content: '⏳'; 
    color: #d69e2e;
    filter: drop-shadow(0 2px 4px rgba(214, 158, 46, 0.3));
}
.dashboard-stat:nth-child(3) .stat-label::before { 
    content: '💰'; 
    color: #38a169;
    filter: drop-shadow(0 2px 4px rgba(56, 161, 105, 0.3));
}

/* Colores específicos para cada estadística */
.dashboard-stat:nth-child(1) {
    border-color: #68d391;
    background: linear-gradient(135deg, #f0fff4, #c6f6d5);
}

.dashboard-stat:nth-child(1):hover {
    border-color: #38a169;
    background: linear-gradient(135deg, #e6fffa, #b2f5ea);
    box-shadow: 0 8px 25px rgba(56, 161, 105, 0.2);
}

.dashboard-stat:nth-child(1) .stat-value {
    color: #22543d;
    background: linear-gradient(135deg, #22543d, #38a169);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-stat:nth-child(2) {
    border-color: #f6e05e;
    background: linear-gradient(135deg, #fffff0, #fefcbf);
}

.dashboard-stat:nth-child(2):hover {
    border-color: #d69e2e;
    background: linear-gradient(135deg, #fefcbf, #faf089);
    box-shadow: 0 8px 25px rgba(214, 158, 46, 0.2);
}

.dashboard-stat:nth-child(2) .stat-value {
    color: #744210;
    background: linear-gradient(135deg, #744210, #d69e2e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-stat:nth-child(3) {
    border-color: #68d391;
    background: linear-gradient(135deg, #f0fff4, #c6f6d5);
}

.dashboard-stat:nth-child(3):hover {
    border-color: #38a169;
    background: linear-gradient(135deg, #e6fffa, #b2f5ea);
    box-shadow: 0 8px 25px rgba(56, 161, 105, 0.2);
}

.dashboard-stat:nth-child(3) .stat-value {
    color: #22543d;
    background: linear-gradient(135deg, #22543d, #38a169);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Progress Bar Mejorada */
.sales-progress {
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f0f4ff, #ffffff);
    border-radius: 10px;
    border: 1px solid #e0e7ff;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.progress-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a5568;
}

.progress-percentage {
    font-size: 0.9rem;
    font-weight: 700;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: linear-gradient(135deg, #e5e7eb, #f3f4f6);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 6px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.progress-text {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.5rem;
    text-align: center;
    font-weight: 500;
}

/* Estado de Pagos - Diseño Moderno y Visible */
.purchase-status-section {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.purchase-status-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: stretch;
}

.status-card {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 2px solid;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(0) scale(1);
}

.status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: height 0.3s ease;
}

.status-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.status-card:hover::before {
    height: 6px;
}

.status-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.status-card:hover .status-icon {
    transform: scale(1.15) rotate(5deg);
}

.status-count {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status-label {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-top: 0.75rem;
    display: inline-block;
    border: 2px solid;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.status-card:hover .status-label {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Colores específicos y visibles para cada estado */
.status-card.pending {
    border-color: #f59e0b;
    background: linear-gradient(145deg, #fffbeb, #fef3c7);
}

.status-card.pending::before {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.status-card.pending .status-icon {
    color: #d97706;
}

.status-card.pending .status-count {
    color: #92400e;
    background: linear-gradient(135deg, #92400e, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.status-card.pending .status-label {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border-color: #f59e0b;
}

.status-card.pending:hover {
    border-color: #d97706;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.25);
}

.status-card.approved {
    border-color: #10b981;
    background: linear-gradient(145deg, #ecfdf5, #d1fae5);
}

.status-card.approved::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.status-card.approved .status-icon {
    color: #059669;
}

.status-card.approved .status-count {
    color: #065f46;
    background: linear-gradient(135deg, #065f46, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.status-card.approved .status-label {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-color: #10b981;
}

.status-card.approved:hover {
    border-color: #059669;
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.25);
}

.status-card.rejected {
    border-color: #ef4444;
    background: linear-gradient(145deg, #fef2f2, #fecaca);
}

.status-card.rejected::before {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.status-card.rejected .status-icon {
    color: #dc2626;
}

.status-card.rejected .status-count {
    color: #991b1b;
    background: linear-gradient(135deg, #991b1b, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.status-card.rejected .status-label {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border-color: #ef4444;
}

.status-card.rejected:hover {
    border-color: #dc2626;
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.25);
}

.status-card.no-payment {
    border-color: #6b7280;
    background: linear-gradient(145deg, #f9fafb, #f3f4f6);
}

.status-card.no-payment::before {
    background: linear-gradient(90deg, #6b7280, #4b5563);
}

.status-card.no-payment .status-icon {
    color: #4b5563;
}

.status-card.no-payment .status-count {
    color: #374151;
    background: linear-gradient(135deg, #374151, #4b5563);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.status-card.no-payment .status-label {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    border-color: #6b7280;
}

.status-card.no-payment:hover {
    border-color: #4b5563;
    box-shadow: 0 20px 40px rgba(107, 114, 128, 0.25);
}

/* Acciones Rápidas - Botones con Estilo Mejorado */
.dashboard-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.dashboard-action-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 16px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.dashboard-action-btn:hover::before {
    left: 100%;
}

.dashboard-action-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.dashboard-action-btn:active {
    transform: translateY(-4px) scale(1.02);
}

.action-icon {
    font-size: 2rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.dashboard-action-btn:hover .action-icon {
    transform: scale(1.15) rotate(10deg);
}

/* Variaciones de color para diferentes botones */
.dashboard-action-btn:nth-child(1) {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.dashboard-action-btn:nth-child(1):hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.4);
}

.dashboard-action-btn:nth-child(2) {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.dashboard-action-btn:nth-child(2):hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.4);
}

.dashboard-action-btn:nth-child(3) {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.dashboard-action-btn:nth-child(3):hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.4);
}

.dashboard-action-btn:nth-child(4) {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.dashboard-action-btn:nth-child(4):hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.4);
}

/* Responsive Design Mejorado */
@media (max-width: 768px) {
    .dashboard-overview {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .dashboard-section {
        padding: 1.5rem;
    }
    
    .dashboard-section h4 {
        font-size: 1.2rem;
    }
    
    .dashboard-stat {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .stat-value {
        font-size: 1.3rem;
    }
    
    .purchase-status-grid {
        flex-direction: column;
        gap: 1rem;
    }
    
    .status-card {
        min-width: auto;
        max-width: none;
        padding: 1.5rem 1rem;
    }
    
    .status-icon {
        font-size: 2.5rem;
    }
    
    .status-count {
        font-size: 2rem;
    }
    
    .dashboard-actions {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .dashboard-action-btn {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .action-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .dashboard-section {
        padding: 1rem;
    }
    
    .purchase-status-grid {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .status-card {
        padding: 1.5rem 1rem;
    }
    
    .status-icon {
        font-size: 2.2rem;
    }
    
    .status-count {
        font-size: 1.8rem;
    }
    
    .progress-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Animaciones adicionales */
@keyframes dashboardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-section {
    animation: dashboardFadeIn 0.6s ease-out;
}

.dashboard-section:nth-child(1) { animation-delay: 0.1s; }
.dashboard-section:nth-child(2) { animation-delay: 0.2s; }
.dashboard-section:nth-child(3) { animation-delay: 0.3s; }

/* Efectos de hover mejorados */
.status-card:hover .status-icon {
    animation: iconBounce 0.6s ease;
}

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

.dashboard-stat:hover .stat-value {
    animation: valueGlow 0.8s ease;
}

@keyframes valueGlow {
    0%, 100% { 
        text-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
    }
    50% { 
        text-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
    }
}

/* Estilos específicos para las tarjetas de estado de pagos en el dashboard */
.payment-status-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.payment-status-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-top: 3px solid;
}

.payment-status-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.payment-status-card.pending {
    border-top-color: #f59e0b;
}

.payment-status-card.approved {
    border-top-color: #10b981;
}

.payment-status-card.rejected {
    border-top-color: #ef4444;
}

.payment-status-card.total {
    border-top-color: #6366f1;
}

.payment-status-card .card-icon {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

.payment-status-card .card-title {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-status-card .card-value {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.payment-status-card.pending .card-value {
    color: #f59e0b;
}

.payment-status-card.approved .card-value {
    color: #10b981;
}

.payment-status-card.rejected .card-value {
    color: #ef4444;
}

.payment-status-card.total .card-value {
    color: #6366f1;
}

/* Responsive para tarjetas de estado de pagos */
@media (max-width: 768px) {
    .payment-status-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .payment-status-card {
        padding: 12px;
    }
    
    .payment-status-card .card-icon {
        font-size: 20px;
    }
    
    .payment-status-card .card-value {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .payment-status-cards {
        grid-template-columns: 1fr 1fr;
    }
}

/* User numbers grid styles - Circular tickets */
.user-numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 15px;
    margin: 20px 0;
    padding: 25px;
    background: linear-gradient(135deg, #f8fafc 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.user-number {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 18px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    border: 3px solid;
}

.user-number.approved {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-color: #155724;
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.3);
}

.user-number.pending {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    color: #212529;
    border-color: #856404;
    box-shadow: 0 6px 12px rgba(255, 193, 7, 0.3);
}

.user-number.rejected {
    background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
    color: white;
    border-color: #721c24;
    box-shadow: 0 6px 12px rgba(220, 53, 69, 0.3);
}

.user-number:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
    z-index: 10;
}

.user-number::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.user-number:hover::before {
    opacity: 1;
}

/* Shine effect for circular tickets */
.user-number::after {
    content: '';
    position: absolute;
    top: 15%;
    left: 15%;
    width: 30%;
    height: 30%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.user-number:hover::after {
    transform: scale(1.2);
    opacity: 0.8;
}

/* Enhanced Payment Status Grid for Dashboard */
.payment-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.payment-status-item {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    padding: 25px 20px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}

.payment-status-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    transition: all 0.3s ease;
}

.payment-status-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.payment-status-item.pending {
    border-color: #f59e0b;
    background: linear-gradient(145deg, #fffbeb, #fef3c7);
}

.payment-status-item.pending::before {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.payment-status-item.pending:hover {
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.25);
    border-color: #d97706;
}

.payment-status-item.approved {
    border-color: #10b981;
    background: linear-gradient(145deg, #ecfdf5, #d1fae5);
}

.payment-status-item.approved::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.payment-status-item.approved:hover {
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.25);
    border-color: #059669;
}

.payment-status-item.rejected {
    border-color: #ef4444;
    background: linear-gradient(145deg, #fef2f2, #fecaca);
}

.payment-status-item.rejected::before {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.payment-status-item.rejected:hover {
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.25);
    border-color: #dc2626;
}

.payment-status-item.no-payment {
    border-color: #6b7280;
    background: linear-gradient(145deg, #f9fafb, #f3f4f6);
}

.payment-status-item.no-payment::before {
    background: linear-gradient(90deg, #6b7280, #4b5563);
}

.payment-status-item.no-payment:hover {
    box-shadow: 0 20px 40px rgba(107, 114, 128, 0.25);
    border-color: #4b5563;
}

.status-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.payment-status-item:hover .status-icon {
    transform: scale(1.2) rotate(5deg);
}

.status-count {
    font-size: 2.2rem;
    font-weight: 900;
    display: block;
    margin-bottom: 8px;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 8px;
    border: 2px solid;
    transition: all 0.3s ease;
}

.payment-status-item:hover .status-label {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.payment-status-item.pending .status-count {
    color: #d97706;
    background: linear-gradient(135deg, #d97706, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payment-status-item.pending .status-label {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border-color: #f59e0b;
}

.payment-status-item.approved .status-count {
    color: #059669;
    background: linear-gradient(135deg, #059669, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payment-status-item.approved .status-label {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-color: #10b981;
}

.payment-status-item.rejected .status-count {
    color: #dc2626;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payment-status-item.rejected .status-label {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border-color: #ef4444;
}

.payment-status-item.no-payment .status-count {
    color: #4b5563;
    background: linear-gradient(135deg, #4b5563, #6b7280);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payment-status-item.no-payment .status-label {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    border-color: #6b7280;
}

/* Responsive adjustments for circular tickets and payment status */
@media (max-width: 768px) {
    .user-numbers-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 12px;
        padding: 20px;
    }
    
    .user-number {
        width: 60px;
        height: 60px;
        font-size: 16px;
    }
    
    .payment-status-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .payment-status-item {
        padding: 20px 15px;
    }
    
    .status-icon {
        font-size: 2rem;
    }
    
    .status-count {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .user-numbers-grid {
        grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
        gap: 10px;
        padding: 15px;
    }
    
    .user-number {
        width: 50px;
        height: 50px;
        font-size: 14px;
    }
    
    .payment-status-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .payment-status-item {
        padding: 15px 10px;
    }
    
    .status-icon {
        font-size: 1.8rem;
    }
    
    .status-count {
        font-size: 1.5rem;
    }
    
    .status-label {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
}

/* Animation for circular tickets entrance */
@keyframes ticketSlideIn {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-180deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.user-number {
    animation: ticketSlideIn 0.6s ease-out;
}

.user-number:nth-child(odd) {
    animation-delay: 0.1s;
}

.user-number:nth-child(even) {
    animation-delay: 0.2s;
}

/* Floating animation for payment status items */
@keyframes statusFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.payment-status-item:nth-child(odd) {
    animation: statusFloat 4s ease-in-out infinite;
}

.payment-status-item:nth-child(even) {
    animation: statusFloat 4s ease-in-out infinite reverse;
}

/* Chart Styles - Modern and Elegant */
.chart-section {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.chart-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
}

.chart-section h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.chart-section h4::before {
    content: '📊';
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.chart-container {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.chart-canvas {
    width: 100% !important;
    height: 100% !important;
    border-radius: 10px;
}

/* Chart Loading State */
.chart-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: #6b7280;
    font-size: 1.1rem;
    font-weight: 500;
}

.chart-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

/* Chart Error State */
.chart-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: #ef4444;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

.chart-error .error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

/* Chart Legend Styles */
.chart-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Chart Controls */
.chart-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.chart-control-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #e5e7eb;
    background: white;
    color: #374151;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-control-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.chart-control-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.chart-control-icon {
    font-size: 1rem;
}

/* Chart Stats Summary */
.chart-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.chart-stat-item {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.chart-stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

.chart-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.chart-stat-label {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Chart Responsive Design */
@media (max-width: 768px) {
    .chart-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .chart-section h4 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .chart-container {
        height: 300px;
        padding: 1rem;
    }
    
    .chart-controls {
        gap: 0.5rem;
    }
    
    .chart-control-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .chart-legend {
        gap: 1rem;
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .legend-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .legend-color {
        width: 12px;
        height: 12px;
    }
    
    .chart-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .chart-stat-item {
        padding: 0.75rem;
    }
    
    .chart-stat-value {
        font-size: 1.4rem;
    }
    
    .chart-stat-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .chart-section {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .chart-section h4 {
        font-size: 1.2rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .chart-container {
        height: 250px;
        padding: 0.75rem;
    }
    
    .chart-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .chart-control-btn {
        width: 200px;
        justify-content: center;
    }
    
    .chart-legend {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .chart-stats {
        grid-template-columns: 1fr;
    }
    
    .chart-stat-value {
        font-size: 1.2rem;
    }
}

/* Chart Animation Effects */
@keyframes chartFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chart-section {
    animation: chartFadeIn 0.6s ease-out;
}

/* Chart Tooltip Styles (for Chart.js) */
.chartjs-tooltip {
    background: linear-gradient(135deg, #1a202c, #2d3748) !important;
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
    color: white !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    padding: 12px 16px !important;
}

.chartjs-tooltip-key {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    border-radius: 3px !important;
    margin-right: 8px !important;
}

/* Chart Data Point Hover Effects */
.chart-container canvas {
    transition: all 0.3s ease;
}

.chart-container:hover canvas {
    transform: scale(1.02);
}

/* Chart Grid Customization */
.chart-grid-lines {
    color: rgba(107, 114, 128, 0.2) !important;
}

.chart-axis-labels {
    color: #6b7280 !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
}

/* Chart Color Palette */
.chart-color-primary { background-color: #667eea; }
.chart-color-secondary { background-color: #764ba2; }
.chart-color-success { background-color: #10b981; }
.chart-color-warning { background-color: #f59e0b; }
.chart-color-danger { background-color: #ef4444; }
.chart-color-info { background-color: #3b82f6; }
.chart-color-purple { background-color: #8b5cf6; }
.chart-color-pink { background-color: #ec4899; }

/* Chart Export Button */
.chart-export-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6b7280;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
}

.chart-export-btn:hover {
    background: white;
    color: #667eea;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Chart No Data State */
.chart-no-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: #9ca3af;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

.chart-no-data .no-data-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.chart-no-data p {
    margin: 0;
    max-width: 300px;
    line-height: 1.5;
}

/* Chart Refresh Button */
.chart-refresh-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-left: auto;
}

.chart-refresh-btn:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.chart-refresh-btn .refresh-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.chart-refresh-btn:hover .refresh-icon {
    transform: rotate(180deg);
}

/* Chart Period Selector */
.chart-period-selector {
    display: flex;
    background: #f3f4f6;
    border-radius: 25px;
    padding: 0.25rem;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
}

.period-option {
    flex: 1;
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    color: #6b7280;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
}

.period-option:hover {
    color: #374151;
    background: rgba(255, 255, 255, 0.5);
}

.period-option.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Chart Zoom Controls */
.chart-zoom-controls {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.zoom-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #6b7280;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.zoom-btn:hover {
    background: white;
    color: #667eea;
    border-color: #667eea;
    transform: translateY(-1px);
}

/* Chart Full Screen Mode */
.chart-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    z-index: 9999;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.chart-fullscreen .chart-container {
    flex: 1;
    height: auto;
    margin: 1rem 0;
}

.chart-fullscreen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.chart-fullscreen-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
}

.chart-fullscreen-close {
    padding: 0.5rem;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.chart-fullscreen-close:hover {
    background: #dc2626;
    transform: scale(1.05);
}
