    @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&display=swap');

    :root {
        --primary: #00ff88;
        --secondary: #00ffee;
        --accent: #ff00ff;
        --dark: #0a0a0a;
        --darker: #050505;
        --neon-glow: 0 0 10px var(--primary),
                    0 0 20px var(--primary),
                    0 0 30px var(--primary);
        --neon-glow-intense: 0 0 20px var(--primary),
                            0 0 40px var(--primary),
                            0 0 60px var(--primary);
        --text-glow: 0 0 5px rgba(0, 255, 136, 0.5);
        --iridescent-gradient: linear-gradient(
            90deg,
            #ff0000,
            #ffa500,
            #ffff00,
            #008000,
            #0000ff,
            #4b0082,
            #ee82ee,
            #ff0000
        );
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Orbitron', sans-serif;
    }

    body {
        min-height: 100vh;
        background: var(--dark);
        color: #fff;
        line-height: 1.6;
        position: relative;
        overflow-x: hidden;
        background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    }

    /* Efecto de líneas de grid en el fondo */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: 
            linear-gradient(90deg, var(--primary) 1px, transparent 1px) 0 0 / 40px 40px,
            linear-gradient(0deg, var(--primary) 1px, transparent 1px) 0 0 / 40px 40px;
        opacity: 0.05;
        z-index: -1;
        animation: gridMove 20s linear infinite;
    }

    @keyframes gridMove {
        0% { transform: translateY(0); }
        100% { transform: translateY(40px); }
    }

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

    /* Efecto de escáner */
    .container::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--primary);
        box-shadow: var(--neon-glow);
        opacity: 0.5;
        z-index: 1000;
        animation: scan 3s linear infinite;
    }

    @keyframes scan {
        0% { transform: translateY(-100vh); }
        100% { transform: translateY(100vh); }
    }

    .header {
        text-align: center;
        margin-bottom: 3rem;
        padding: 3rem;
        background: rgba(10, 10, 10, 0.8);
        border: 1px solid var(--primary);
        border-radius: 20px;
        position: relative;
        overflow: hidden;
        backdrop-filter: blur(10px);
        animation: borderGlow 2s ease-in-out infinite alternate;
    }

    @keyframes borderGlow {
        from { box-shadow: 0 0 20px var(--primary); }
        to { box-shadow: 0 0 40px var(--primary); }
    }

    /* Efecto de esquinas cibernéticas */
    .header::before,
    .header::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        border: 2px solid var(--primary);
        animation: cornerPulse 2s infinite alternate;
    }

    .header::before {
        top: 0;
        left: 0;
        border-right: 0;
        border-bottom: 0;
    }

    .header::after {
        bottom: 0;
        right: 0;
        border-left: 0;
        border-top: 0;
    }

    @keyframes cornerPulse {
        from { transform: scale(1); opacity: 1; }
        to { transform: scale(1.5); opacity: 0.5; }
    }

    .logo-container {
        width: 180px;
        height: 180px;
        margin: 0 auto 2rem;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.3);
        padding: 3px;
    }

    .logo-inner {
        position: relative;
        width: 100%;
        height: 100%;
        background: var(--dark);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid var(--primary);
        box-shadow: inset 0 0 20px rgba(0, 255, 136, 0.5);
        overflow: hidden;
        padding: 20px;
    }

    .logo {
        width: 100%;
        height: 100%;
        object-fit: contain;
        filter: drop-shadow(0 0 8px var(--primary));
        border-radius: 50%;
        transition: transform 0.3s ease;
    }

    .logo-container:hover .logo {
        transform: scale(1.1);
    }

    /* Anillo giratorio alrededor del logo */
    .logo-container::before {
        content: '';
        position: absolute;
        inset: -3px;
        border-radius: 50%;
        background: var(--iridescent-gradient);
        background-size: 200% auto;
        animation: iridescent 3s linear infinite;
    }

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

    h1 {
        font-size: 3.5rem;
        font-weight: 900;
        margin-bottom: 1rem;
        color: var(--primary);
        text-transform: uppercase;
        letter-spacing: 4px;
        text-shadow: var(--neon-glow);
        animation: textPulse 2s infinite alternate;
        background: var(--iridescent-gradient);
        background-size: 200% auto;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        animation: iridescent 3s linear infinite;
        text-shadow: none;
    }

    @keyframes textPulse {
        from { text-shadow: var(--neon-glow); }
        to { text-shadow: var(--neon-glow-intense); }
    }

    .subtitle {
        color: var(--secondary);
        font-size: 1.2rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 0 0 10px var(--secondary);
        background: var(--iridescent-gradient);
        background-size: 200% auto;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        animation: iridescent 3s linear infinite;
        text-shadow: none;
    }

    .menu-buttons {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-direction: row;
        flex-wrap: nowrap;
        width: 100%;
        padding: 20px;
    }

    .menu-button {
        flex: 1;
        min-width: 200px;
        max-width: 250px;
        padding: 15px 25px;
        margin: 0;
        font-family: 'Orbitron', sans-serif;
        font-size: 1em;
        text-transform: uppercase;
        letter-spacing: 1px;
        border: 2px solid #00ff00;
        background: rgba(0, 0, 0, 0.7);
        color: #00ff00;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    }

    .menu-button:hover {
        background: rgba(0, 255, 0, 0.1);
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
        transform: translateY(-2px);
    }

    .menu-button.warning-button {
        border-color: #00ffff;
        color: #00ffff;
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    }

    .menu-button.warning-button:hover {
        background: rgba(0, 255, 255, 0.1);
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    }

    .menu-button.delete-button {
        border-color: #ff0000;
        color: #ff0000;
        box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
    }

    .menu-button.delete-button:hover {
        background: rgba(255, 0, 0, 0.1);
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    }

    .form-container, .result-container {
        background: rgba(10, 10, 10, 0.9);
        padding: 3rem;
        border-radius: 20px;
        border: 2px solid var(--primary);
        margin-bottom: 2rem;
        backdrop-filter: blur(15px);
        box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
        position: relative;
        overflow: hidden;
        animation: containerPulse 3s ease-in-out infinite alternate;
    }

    @keyframes containerPulse {
        0% { box-shadow: 0 0 30px rgba(0, 255, 136, 0.3); }
        100% { box-shadow: 0 0 50px rgba(0, 255, 136, 0.5); }
    }

    /* Efecto de esquinas tech en el formulario */
    .form-container::before,
    .form-container::after,
    .result-container::before,
    .result-container::after {
        content: '';
        position: absolute;
        width: 30px;
        height: 30px;
        border: 2px solid var(--primary);
        z-index: 1;
    }

    .form-container::before,
    .result-container::before {
        top: 0;
        left: 0;
        border-right: 0;
        border-bottom: 0;
        animation: cornerGlow 2s infinite alternate;
    }

    .form-container::after,
    .result-container::after {
        bottom: 0;
        right: 0;
        border-left: 0;
        border-top: 0;
        animation: cornerGlow 2s infinite alternate-reverse;
    }

    @keyframes cornerGlow {
        0% { box-shadow: 0 0 15px var(--primary); }
        100% { box-shadow: 0 0 30px var(--primary); }
    }

    .form-title {
        color: var(--primary);
        font-size: 2.5rem;
        font-weight: 900;
        margin-bottom: 2.5rem;
        text-transform: uppercase;
        letter-spacing: 4px;
        text-shadow: var(--neon-glow);
        position: relative;
        display: inline-block;
        background: var(--iridescent-gradient);
        background-size: 200% auto;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        animation: iridescent 3s linear infinite;
        text-shadow: none;
    }

    .form-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -10px;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, 
            transparent 0%,
            var(--primary) 50%,
            transparent 100%
        );
        animation: titleLine 3s infinite;
    }

    @keyframes titleLine {
        0% { transform: scaleX(0); opacity: 0; }
        50% { transform: scaleX(1); opacity: 1; }
        100% { transform: scaleX(0); opacity: 0; }
    }

    input[type="text"],
    input[type="number"],
    input[type="email"],
    select {
        width: 100%;
        padding: 1.2rem 1.5rem;
        background: rgba(0, 0, 0, 0.7);
        border: 2px solid var(--primary);
        border-radius: 12px;
        color: #fff;
        font-size: 1.1rem;
        font-weight: 600;
        letter-spacing: 1px;
        transition: all 0.3s ease;
        box-shadow: 0 0 15px rgba(0, 255, 136, 0.1);
    }

    select {
        cursor: pointer;
    }

    select option {
        background: rgba(0, 0, 0, 0.9);
        color: #fff;
        padding: 8px;
    }

    input[type="text"]:focus,
    input[type="number"]:focus,
    input[type="email"]:focus {
        border-color: var(--secondary);
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
        background: rgba(0, 255, 136, 0.1);
        outline: none;
    }

    /* Estilo para resaltar el texto dentro de los inputs */
    input[type="text"]::placeholder,
    input[type="number"]::placeholder,
    input[type="email"]::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

    /* Asegurar que el texto sea visible */
    input[type="text"],
    input[type="number"],
    input[type="email"] {
        text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    }

    /* Efecto de brillo al escribir */
    input[type="text"]:not(:placeholder-shown),
    input[type="number"]:not(:placeholder-shown),
    input[type="email"]:not(:placeholder-shown) {
        color: #fff;
        text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
        background: rgba(0, 0, 0, 0.8);
        border-color: var(--primary);
    }

    /* Etiquetas del formulario */
    label {
        display: block;
        color: var(--secondary);
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 1rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 0 0 10px var(--secondary);
        background: var(--iridescent-gradient);
        background-size: 200% auto;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        animation: iridescent 3s linear infinite;
        text-shadow: none;
    }

    .submit-button {
        background: linear-gradient(45deg,
            var(--primary) 0%,
            var(--secondary) 100%
        );
        color: var(--dark);
        border: none;
        padding: 1.2rem 3rem;
        border-radius: 12px;
        font-size: 1.2rem;
        font-weight: 800;
        cursor: pointer;
        text-transform: uppercase;
        letter-spacing: 3px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        margin-top: 1rem;
        box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
        background: var(--iridescent-gradient);
        background-size: 200% auto;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        animation: iridescent 3s linear infinite;
    }

    .submit-button::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(45deg,
            var(--primary),
            var(--secondary),
            var(--accent),
            var(--primary)
        );
        background-size: 400%;
        z-index: -1;
        animation: borderFlow 3s linear infinite;
        filter: blur(10px);
    }

    .submit-button:hover {
        background: linear-gradient(45deg,
            var(--secondary) 0%,
            var(--primary) 100%
        );
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 0 40px rgba(0, 255, 136, 0.5);
        letter-spacing: 5px;
    }

    .submit-button:active {
        transform: translateY(1px);
    }

    /* Estilo específico para los botones superiores */
    #menu button {
        background: var(--iridescent-gradient);
        background-size: 200% auto;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        animation: iridescent 3s linear infinite;
        border-image: var(--iridescent-gradient) 1;
        border-image-slice: 1;
        border: 2px solid var(--primary);
        padding: 12px 25px;
        font-family: 'Orbitron', sans-serif;
        font-size: 0.9rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 2px;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
        border-radius: 0;
        clip-path: polygon(
            10px 0, 
            calc(100% - 10px) 0, 
            100% 10px,
            100% calc(100% - 10px),
            calc(100% - 10px) 100%,
            10px 100%,
            0 calc(100% - 10px),
            0 10px
        );
        box-shadow: 
            0 0 20px rgba(0, 255, 136, 0.3),
            inset 0 0 20px rgba(0, 255, 136, 0.2);
        text-shadow: 0 0 10px var(--primary);
        backdrop-filter: blur(5px);
    }

    #menu button::before {
        content: '';
        position: absolute;
        inset: -2px;
        background: linear-gradient(45deg,
            var(--primary),
            var(--secondary),
            var(--accent),
            var(--primary)
        );
        background-size: 400%;
        z-index: -1;
        animation: borderFlow 3s linear infinite;
        opacity: 0.5;
        clip-path: polygon(
            12px 0, 
            calc(100% - 12px) 0, 
            100% 12px,
            100% calc(100% - 12px),
            calc(100% - 12px) 100%,
            12px 100%,
            0 calc(100% - 12px),
            0 12px
        );
    }

    #menu button::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent
        );
        transform: translateX(-100%);
        transition: transform 0.5s ease;
    }

    #menu button:hover {
        color: #fff;
        border-color: var(--secondary);
        transform: translateY(-2px) scale(1.02);
        box-shadow: 
            0 0 30px rgba(0, 255, 136, 0.5),
            inset 0 0 30px rgba(0, 255, 136, 0.3);
        letter-spacing: 3px;
        background: rgba(0, 255, 136, 0.1);
    }

    #menu button:hover::before {
        opacity: 1;
        animation: borderFlow 2s linear infinite;
    }

    #menu button:hover::after {
        transform: translateX(100%);
    }

    #menu button:active {
        transform: translateY(1px) scale(0.98);
        box-shadow: 
            0 0 15px rgba(0, 255, 136, 0.3),
            inset 0 0 15px rgba(0, 255, 136, 0.2);
    }

    /* Efecto de brillo en las esquinas */
    #menu button span {
        position: absolute;
        background: var(--primary);
    }

    #menu button span:nth-child(1) {
        top: 0;
        left: 0;
        width: 2px;
        height: 20px;
        animation: cornerLight 2s infinite;
    }

    #menu button span:nth-child(2) {
        top: 0;
        right: 0;
        width: 2px;
        height: 20px;
        animation: cornerLight 2s infinite 0.5s;
    }

    #menu button span:nth-child(3) {
        bottom: 0;
        left: 0;
        width: 2px;
        height: 20px;
        animation: cornerLight 2s infinite 1s;
    }

    #menu button span:nth-child(4) {
        bottom: 0;
        right: 0;
        width: 2px;
        height: 20px;
        animation: cornerLight 2s infinite 1.5s;
    }

    /* Estilo del contenedor del menú */
    #menu {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-bottom: 2rem;
        padding: 1rem;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 15px;
        position: relative;
        overflow: hidden;
    }

    #menu::before {
        content: '';
        position: absolute;
        inset: -2px;
        background: linear-gradient(45deg,
            var(--primary),
            var(--secondary),
            var(--accent),
            var(--primary)
        );
        background-size: 400%;
        z-index: -1;
        animation: borderFlow 3s linear infinite;
        filter: blur(8px);
    }

    @keyframes cornerLight {
        0% { transform: scaleY(1); opacity: 1; }
        50% { transform: scaleY(0.5); opacity: 0.5; }
        100% { transform: scaleY(1); opacity: 1; }
    }

    @media (max-width: 768px) {
        .container { padding: 1rem; }
        h1 { font-size: 2.5rem; }
        .menu-button { padding: 1rem; }
        .form-container { padding: 1.5rem; }
    }

    /* Estilos para el formulario de lotes */
    .batch-form {
        background: rgba(10, 10, 10, 0.8);
        border: 1px solid var(--primary);
        border-radius: 20px;
        padding: 2rem;
        margin-bottom: 2rem;
        backdrop-filter: blur(10px);
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
        position: relative;
        overflow: hidden;
    }

    .batch-form::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(45deg,
            var(--primary),
            var(--secondary),
            var(--accent),
            var(--primary)
        );
        border-radius: 22px;
        z-index: -1;
        animation: formBorderFlow 3s linear infinite;
        filter: blur(5px);
    }

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

    .batch-form input[type="file"] {
        display: none;
    }

    .batch-form label {
        display: block;
        margin-bottom: 1rem;
        color: var(--primary);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-shadow: 0 0 5px rgba(0, 255, 136, 0.5);
    }

    .file-input-button {
        display: inline-block;
        background: linear-gradient(45deg, var(--primary), var(--secondary));
        color: var(--dark);
        padding: 1rem 2rem;
        border-radius: 10px;
        cursor: pointer;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all 0.3s ease;
        border: none;
        position: relative;
        overflow: hidden;
    }

    .file-input-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
    }

    .file-input-button:active {
        transform: translateY(1px);
    }

    .file-input-button::before {
        content: '';
        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);
        animation: shine 3s infinite;
    }

    @keyframes shine {
        0% { transform: translateX(-100%) rotate(45deg); }
        100% { transform: translateX(100%) rotate(45deg); }
    }

    .batch-form .submit-button {
        background: linear-gradient(45deg, var(--accent), var(--primary));
        color: var(--dark);
        padding: 1rem 2rem;
        border-radius: 10px;
        cursor: pointer;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        border: none;
        transition: all 0.3s ease;
        margin-top: 1rem;
        width: 100%;
        position: relative;
        overflow: hidden;
    }

    .batch-form .submit-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 0, 255, 0.3);
    }

    .batch-form .submit-button:active {
        transform: translateY(1px);
    }

    .batch-form .submit-button::after {
        content: '';
        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);
        animation: buttonShine 3s infinite;
    }

    @keyframes buttonShine {
        0% { transform: translateX(-100%) rotate(45deg); }
        100% { transform: translateX(100%) rotate(45deg); }
    }

    .file-name {
        color: var(--secondary);
        margin-top: 1rem;
        font-size: 0.9rem;
        text-align: center;
        opacity: 0.8;
    }

    /* Mensaje de éxito/error */
    .message {
        padding: 1rem;
        margin: 1rem 0;
        border-radius: 10px;
        font-weight: 500;
        text-align: center;
        animation: messageAppear 0.3s ease-out;
    }

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

    .success {
        background: rgba(0, 255, 136, 0.1);
        color: var(--primary);
        border: 1px solid var(--primary);
    }

    .error {
        background: rgba(255, 0, 0, 0.1);
        color: #ff0000;
        border: 1px solid #ff0000;
    }

    /* Estilos para los botones de opción */
    .button-group {
        display: flex;
        gap: 1rem;
        margin-bottom: 2rem;
        background: rgba(0, 0, 0, 0.3);
        padding: 0.5rem;
        border-radius: 10px;
        border: 1px solid var(--primary);
    }

    .option-button {
        flex: 1;
        padding: 1rem;
        background: transparent;
        border: 1px solid var(--primary);
        color: var(--primary);
        border-radius: 8px;
        cursor: pointer;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all 0.3s ease;
    }

    .option-button.active {
        background: var(--primary);
        color: var(--dark);
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    }

    .option-button:hover:not(.active) {
        background: rgba(0, 255, 136, 0.1);
    }

    /* Estilos para los detalles del resultado */
    .details {
        background: rgba(0, 0, 0, 0.8);
        border-radius: 15px;
        padding: 20px;
        margin: 20px 0;
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    }

    .details h3 {
        color: #fff;
        margin-bottom: 15px;
        font-size: 1.5em;
        text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    }

    .details ul {
        list-style: none;
        padding: 0;
    }

    .details li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        margin: 5px 0;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }

    .details li:hover {
        transform: translateX(5px);
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    }

    .expired-list li {
        border-left: 4px solid #ff4444;
        background: rgba(255, 68, 68, 0.1);
    }

    .active-list li {
        border-left: 4px solid #00ff00;
        background: rgba(0, 255, 0, 0.1);
    }

    .email {
        color: #fff;
        font-size: 1.1em;
        flex: 1;
    }

    .days {
        color: #fff;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 0.9em;
        min-width: 120px;
        text-align: right;
    }

    .expired-list .days {
        color: #ff4444;
        text-shadow: 0 0 5px rgba(255, 68, 68, 0.5);
    }

    .active-list .days {
        color: #00ff00;
        text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    }

    .message.warning {
        background: rgba(255, 193, 7, 0.2);
        color: #ffc107;
        padding: 15px;
        border-radius: 8px;
        text-align: center;
        margin: 10px 0;
        border: 1px solid rgba(255, 193, 7, 0.5);
        text-shadow: 0 0 5px rgba(255, 193, 7, 0.5);
    }

    .message.info {
        background: rgba(0, 123, 255, 0.2);
        color: #007bff;
        padding: 15px;
        border-radius: 8px;
        text-align: center;
        margin: 10px 0;
        border: 1px solid rgba(0, 123, 255, 0.5);
        text-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    }

    .file-input-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Animación de texto con fuego */
    .fire-animation-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 99999;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(8px);
    }

    .fire-text {
        font-family: 'Orbitron', sans-serif;
        font-size: 8rem;
        font-weight: 900;
        text-transform: uppercase;
        position: relative;
        display: flex;
        gap: 0.5rem;
    }

    .fire-text span {
        opacity: 0;
        transform: translateX(-100px) scale(0.5);
        display: inline-block;
        color: #fff;
        text-shadow: 
            0 -1px 4px #FFF,
            0 -2px 10px #ff0,
            0 -10px 20px #ff8000,
            0 -18px 40px #F00,
            0 -25px 50px #ff0000,
            0 -30px 60px #cc0000,
            0 -35px 70px #990000;
        animation: fireLetterIn 0.5s forwards;
        position: relative;
    }

    .fire-text::before {
        content: '';
        position: absolute;
        top: -150%;
        left: -30%;
        right: -30%;
        bottom: -150%;
        background: 
            radial-gradient(ellipse at center,
                rgba(255, 255, 0, 0.8) 0%,
                rgba(255, 165, 0, 0.6) 20%,
                rgba(255, 68, 0, 0.4) 40%,
                rgba(255, 0, 0, 0.3) 60%,
                rgba(139, 0, 0, 0.2) 80%,
                rgba(0, 0, 0, 0) 100%);
        filter: blur(25px);
        animation: fireGlow 1.5s infinite alternate;
    }

    @keyframes fireLetterIn {
        0% {
            opacity: 0;
            transform: translateX(-100px) scale(0.5);
            filter: blur(10px);
        }
        60% {
            opacity: 1;
            transform: translateX(0) scale(1.2);
            filter: blur(0);
        }
        100% {
            opacity: 1;
            transform: translateX(0) scale(1);
            filter: blur(0);
        }
    }

    @keyframes fireLetterOut {
        0% {
            opacity: 1;
            transform: translateX(0) scale(1);
            filter: blur(0);
        }
        100% {
            opacity: 0;
            transform: translateX(100px) scale(0.5);
            filter: blur(10px);
        }
    }

    @keyframes fireGlow {
        0% {
            opacity: 0.7;
            filter: blur(25px) brightness(1.2);
            transform: scale(1) translateY(0);
        }
        25% {
            opacity: 0.9;
            filter: blur(30px) brightness(1.5);
            transform: scale(1.1) translateY(-5px);
        }
        50% {
            opacity: 1;
            filter: blur(35px) brightness(1.8);
            transform: scale(1.2) translateY(-10px);
        }
        75% {
            opacity: 0.8;
            filter: blur(30px) brightness(1.6);
            transform: scale(1.1) translateY(-5px);
        }
        100% {
            opacity: 0.7;
            filter: blur(25px) brightness(1.3);
            transform: scale(1) translateY(0);
        }
    }

    .fire-particles {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        overflow: hidden;
    }

    .fire-particle {
        position: absolute;
        width: 15px;
        height: 15px;
        background: radial-gradient(circle at center,
            rgba(255, 255, 0, 1) 0%,
            rgba(255, 165, 0, 0.9) 30%,
            rgba(255, 68, 0, 0.8) 60%,
            rgba(255, 0, 0, 0.6) 80%,
            transparent 100%);
        border-radius: 50%;
        pointer-events: none;
        animation: particleFly 1.2s ease-out forwards;
        box-shadow: 
            0 0 10px rgba(255, 255, 0, 0.8),
            0 0 20px rgba(255, 165, 0, 0.6),
            0 0 30px rgba(255, 68, 0, 0.4);
    }

    @keyframes particleFly {
        0% {
            transform: translate(0, 0) scale(1);
            opacity: 1;
        }
        100% {
            transform: translate(var(--tx), var(--ty)) scale(0);
            opacity: 0;
        }
    }

    /* Efecto de fuego en las letras */
    .fire-text span::before {
        content: '';
        position: absolute;
        top: -20px;
        left: -10px;
        width: 120%;
        height: 120%;
        background: linear-gradient(0deg,
            rgba(255, 0, 0, 0.8) 0%,
            rgba(255, 68, 0, 0.7) 20%,
            rgba(255, 154, 0, 0.6) 40%,
            rgba(255, 255, 0, 0.4) 60%,
            rgba(255, 255, 0, 0.2) 80%,
            transparent 100%);
        filter: blur(8px);
        animation: flameDance 0.3s infinite alternate;
        z-index: -1;
    }

    @keyframes flameDance {
        0% {
            transform: translateY(0) scaleY(1) scaleX(1);
            opacity: 0.8;
        }
        25% {
            transform: translateY(-15%) scaleY(1.3) scaleX(1.1);
            opacity: 1;
        }
        50% {
            transform: translateY(-25%) scaleY(1.5) scaleX(1.2);
            opacity: 0.9;
        }
        75% {
            transform: translateY(-20%) scaleY(1.4) scaleX(1.1);
            opacity: 1;
        }
        100% {
            transform: translateY(-30%) scaleY(1.6) scaleX(1.3);
            opacity: 0.8;
        }
    }

    /* Contenedor principal que ocultará elementos cuando se muestre un resultado */
    .result-visible .logo-container,
    .result-visible .header::before,
    .result-visible .header::after,
    .result-visible .container::after,
    .result-visible body::before {
        display: none;
    }

    /* Clase para ocultar efectos cuando se muestran resultados */
    .result-visible .header {
        animation: none;
        border: none;
        box-shadow: none;
        background: rgba(10, 10, 10, 0.5);
        margin-bottom: 1rem;
        padding: 1rem;
    }

    .result-visible h1 {
        font-size: 2rem;
        animation: none;
        color: var(--primary);
        text-shadow: var(--text-glow);
        background: none;
    }

    .result-visible .subtitle {
        font-size: 1rem;
        animation: none;
        color: var(--secondary);
        background: none;
    }

    /* Ajustes para el contenedor de resultados */
    #results-container {
        display: none;
        background: rgba(10, 10, 10, 0.8);
        border-radius: 15px;
        padding: 2rem;
        margin-top: 2rem;
        border: 1px solid var(--primary);
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
    }

    #results-container.visible {
        display: block;
    }

    /* Mantener los efectos de botones siempre visibles */
    .menu-button {
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Estilos específicos para el textarea de correos */
    textarea#userEmails {
        width: 100%;
        min-height: 150px;
        padding: 1.2rem 1.5rem;
        background: rgba(0, 0, 0, 0.7);
        border: 2px solid var(--primary);
        border-radius: 12px;
        color: #fff;
        font-size: 1.1rem;
        font-weight: 500;
        letter-spacing: 1px;
        transition: all 0.3s ease;
        box-shadow: 0 0 15px rgba(0, 255, 136, 0.1);
        resize: vertical;
        font-family: 'Orbitron', monospace;
        line-height: 1.6;
    }

    textarea#userEmails:focus {
        border-color: var(--secondary);
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
        background: rgba(0, 0, 0, 0.8);
        outline: none;
    }

    textarea#userEmails::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

    /* Asegurar que el texto sea visible cuando se escribe */
    textarea#userEmails:not(:placeholder-shown) {
        color: #fff;
        text-shadow: 0 0 5px rgba(0, 255, 136, 0.5);
        font-weight: 600;
    }

    /* Contador de correos */
    .email-counter {
        display: block;
        text-align: right;
        color: var(--secondary);
        font-size: 0.9rem;
        margin-top: 0.5rem;
        opacity: 0.8;
        text-shadow: 0 0 5px rgba(0, 255, 238, 0.5);
    }

    /* Selector de tipo de usuario */
    .user-type-selector {
        display: flex;
        gap: 10px;
        margin-bottom: 20px;
    }

    .type-button {
        flex: 1;
        padding: 15px 20px;
        background: rgba(0, 0, 0, 0.7);
        border: 2px solid var(--primary);
        border-radius: 12px;
        color: var(--primary);
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .type-button:hover {
        background: rgba(0, 255, 136, 0.1);
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
        transform: translateY(-2px);
    }

    .type-button.active {
        background: var(--primary);
        color: #000;
        box-shadow: 0 0 25px rgba(0, 255, 136, 0.5);
    }

    /* Estilos específicos para el textarea de correos libre */
    textarea#freeEmails {
        width: 100%;
        min-height: 150px;
        padding: 1.2rem 1.5rem;
        background: rgba(0, 0, 0, 0.7);
        border: 2px solid var(--primary);
        border-radius: 12px;
        color: #fff;
        font-size: 1.1rem;
        font-weight: 500;
        letter-spacing: 1px;
        transition: all 0.3s ease;
        box-shadow: 0 0 15px rgba(0, 255, 136, 0.1);
        resize: vertical;
        font-family: 'Orbitron', monospace;
        line-height: 1.6;
    }

    textarea#freeEmails:focus {
        border-color: var(--secondary);
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
        background: rgba(0, 0, 0, 0.8);
        outline: none;
    }

    textarea#freeEmails::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

    textarea#freeEmails:not(:placeholder-shown) {
        color: #fff;
        text-shadow: 0 0 5px rgba(0, 255, 136, 0.5);
        font-weight: 600;
    }

    /* Estilos para la base de datos de usuarios */
    .users-database-section {
        margin-top: 2rem;
        padding: 1.5rem;
        background: rgba(0, 0, 0, 0.5);
        border: 1px solid var(--primary);
        border-radius: 15px;
    }

    .users-database-section h3 {
        color: var(--secondary);
        font-size: 1.2rem;
        margin-bottom: 1rem;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 0 0 10px rgba(0, 255, 238, 0.5);
    }

    .users-database {
        max-height: 400px;
        overflow-y: auto;
    }

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

    .user-item {
        background: rgba(0, 0, 0, 0.7);
        border: 1px solid var(--primary);
        border-radius: 10px;
        padding: 1rem;
        transition: all 0.3s ease;
    }

    .user-item:hover {
        box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
        transform: translateY(-2px);
    }

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

    .user-type {
        padding: 0.3rem 0.8rem;
        border-radius: 15px;
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
    }

    .user-type.telegram {
        background: #0088cc;
        color: #fff;
    }

    .user-type.whatsapp {
        background: #25d366;
        color: #fff;
    }

    .user-id {
        color: var(--primary);
        font-weight: 600;
        font-family: 'Orbitron', monospace;
    }

    .user-stats {
        display: flex;
        gap: 1rem;
        margin-bottom: 0.5rem;
    }

    .stat {
        font-size: 0.9rem;
        color: #ccc;
    }

    .stat.active {
        color: var(--primary);
    }

    .user-accounts {
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
    }

    .account-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem;
        border-radius: 5px;
        font-size: 0.85rem;
    }

    .account-item.active {
        background: rgba(0, 255, 136, 0.1);
        border: 1px solid var(--primary);
    }

    .account-item.expired {
        background: rgba(255, 107, 53, 0.1);
        border: 1px solid #ff6b35;
        opacity: 0.7;
    }

    .account-email {
        color: #fff;
        font-weight: 500;
    }

    .account-days {
        color: var(--secondary);
        font-size: 0.8rem;
    }

    .no-accounts {
        color: #666;
        font-style: italic;
        text-align: center;
        padding: 1rem;
    }

    .no-users {
        color: #666;
        text-align: center;
        padding: 2rem;
        font-style: italic;
    }

    .loading {
        color: var(--secondary);
        text-align: center;
        padding: 2rem;
    }

    .error {
        color: #ff6b35;
        text-align: center;
        padding: 2rem;
    }

/* Estilos para el Panel Padre General */
.dashboard {
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--primary);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 255, 136, 0.1) 50%, transparent 70%);
    animation: dashboardShine 4s ease-in-out infinite;
}

@keyframes dashboardShine {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(5, 5, 5, 0.9);
    border: 1px solid var(--primary);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.stat-card h3 {
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: var(--text-glow);
    display: block;
}

.stat-card.warning .stat-number {
    color: #ff6b35;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

/* Contenedor de clientes */
.clients-container {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--primary);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
}

.search-container {
    margin-bottom: 2rem;
}

.search-input {
    width: 100%;
    padding: 1rem;
    background: rgba(5, 5, 5, 0.9);
    border: 1px solid var(--primary);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(0, 255, 238, 0.3);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Tabla de clientes */
.table-container {
    background: rgba(5, 5, 5, 0.9);
    border: 1px solid var(--primary);
    border-radius: 15px;
    overflow: hidden;
    margin-top: 1rem;
}

.clients-table {
    width: 100%;
    border-collapse: collapse;
}

.clients-table th,
.clients-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.clients-table th {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.clients-table tr {
    transition: all 0.3s ease;
}

.clients-table tr:hover {
    background: rgba(0, 255, 136, 0.05);
    transform: translateX(5px);
}

.clients-table td {
    color: #fff;
}

.client-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.client-status.active {
    background: rgba(0, 255, 136, 0.2);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.client-status.expired {
    background: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
    border: 1px solid #ff6b35;
}

.client-status.warning {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid #ffc107;
}

/* Detalles del cliente */
.client-details {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--primary);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
}

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

.back-button {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-button:hover {
    background: rgba(0, 255, 136, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.client-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Botones de acción */
.action-button {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

.action-button:hover {
    background: rgba(0, 255, 136, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.action-button.delete {
    background: rgba(255, 107, 53, 0.1);
    border-color: #ff6b35;
    color: #ff6b35;
}

.action-button.delete:hover {
    background: rgba(255, 107, 53, 0.2);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.action-button.block {
    background: rgba(255, 136, 0, 0.1);
    border-color: #ff8800;
    color: #ff8800;
}

.action-button.block:hover {
    background: rgba(255, 136, 0, 0.2);
    box-shadow: 0 0 10px rgba(255, 136, 0, 0.3);
}

.action-button.unblock {
    background: rgba(0, 170, 0, 0.1);
    border-color: #00aa00;
    color: #00aa00;
}

.action-button.unblock:hover {
    background: rgba(0, 170, 0, 0.2);
    box-shadow: 0 0 10px rgba(0, 170, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .client-stats {
        grid-template-columns: 1fr;
    }
    
    .clients-table {
        font-size: 0.8rem;
    }
    
    .clients-table th,
    .clients-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .client-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Estilos para la nueva funcionalidad de detalles de usuario */
.download-button {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.download-button:hover {
    background: linear-gradient(45deg, #45a049, #4CAF50);
    transform: translateY(-2px);
}

.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #fff;
    font-size: 14px;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
}

.delete-selected-button {
    background: linear-gradient(45deg, #ff4444, #cc0000);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.delete-selected-button:disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

.delete-selected-button:not(:disabled):hover {
    background: linear-gradient(45deg, #cc0000, #ff4444);
    transform: translateY(-2px);
}

.sortable-header {
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.sortable-header:hover {
    background: rgba(76, 175, 80, 0.2);
}

.sortable-header i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.sortable-header:hover i {
    color: #4CAF50;
}

/* Estilos para checkboxes en la tabla */
.clients-table th:first-child,
.clients-table td:first-child {
    width: 50px;
    text-align: center;
}

.clients-table input[type="checkbox"] {
    transform: scale(1.2);
    cursor: pointer;
}

/* Estilos para cuentas exclusivas */
.exclusive-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-button {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.tab-button:hover {
    background: rgba(0, 255, 136, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.tab-button.active {
    background: var(--primary);
    color: #000;
}

.tab-content {
    display: none;
}

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

/* Estilos para modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal-content {
    background: #1a1a1a;
    border: 1px solid var(--primary);
    border-radius: 10px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.modal-content h3 {
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.submit-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: #666;
    color: #fff;
}

.submit-button.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Estilos para formularios en modal */
.modal-content .form-group {
    margin-bottom: 20px;
}

.modal-content .form-group label {
    display: block;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.modal-content .form-group input,
.modal-content .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--primary);
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s ease;
}

.modal-content .form-group input:focus,
.modal-content .form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
    border-color: var(--secondary);
}

.modal-content .form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.modal-content .form-group small {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 12px;
}

/* Estilos específicos para cuentas exclusivas */
.exclusive-form {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
}

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

.exclusive-form label {
    display: block;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.exclusive-form input,
.exclusive-form textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--primary);
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
}

.exclusive-form input:focus,
.exclusive-form textarea:focus {
    outline: none;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
    border-color: var(--secondary);
}

.exclusive-form textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}

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

.exclusive-button {
    padding: 8px 16px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 5px;
    color: #000;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 255, 136, 0.3);
    margin: 2px;
}

.exclusive-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.5);
    background: linear-gradient(45deg, var(--secondary), var(--primary));
}

.exclusive-button.secondary {
    background: linear-gradient(45deg, #666, #888);
    color: #fff;
}

.exclusive-button.secondary:hover {
    background: linear-gradient(45deg, #888, #666);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.exclusive-button.danger {
    background: linear-gradient(45deg, #ff4444, #cc0000);
    color: #fff;
}

.exclusive-button.danger:hover {
    background: linear-gradient(45deg, #cc0000, #ff4444);
    box-shadow: 0 8px 25px rgba(255, 68, 68, 0.5);
}

/* Mejoras para la tabla de cuentas exclusivas */
.exclusive-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.exclusive-table th {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary);
    padding: 15px 10px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--primary);
}

.exclusive-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
    color: #fff;
}

.exclusive-table tr:hover {
    background: rgba(0, 255, 136, 0.05);
}

.exclusive-table .status-active {
    color: var(--primary);
    font-weight: 600;
}

.exclusive-table .status-warning {
    color: #ffa500;
    font-weight: 600;
}

.exclusive-table .status-expired {
    color: #ff4444;
    font-weight: 600;
}

/* Responsive para cuentas exclusivas */
@media (max-width: 768px) {
    .exclusive-actions {
        flex-direction: column;
    }
    
    .exclusive-table {
        font-size: 12px;
    }
    
    .exclusive-table th,
    .exclusive-table td {
        padding: 8px 5px;
    }
}

/* Mejoras específicas para la tabla de cuentas exclusivas */
.exclusive-table td {
    vertical-align: top;
    padding: 12px 8px;
}

.exclusive-table td:nth-child(2) {
    max-width: 200px;
    word-wrap: break-word;
    line-height: 1.4;
}

.exclusive-table td:last-child {
    white-space: nowrap;
    text-align: center;
}

.exclusive-table td:last-child .exclusive-button {
    display: inline-block;
    margin: 2px;
    min-width: 80px;
}

/* Responsive para botones en tabla */
@media (max-width: 768px) {
    .exclusive-table td:last-child .exclusive-button {
        display: block;
        margin: 2px 0;
        width: 100%;
        min-width: auto;
    }
    
    .exclusive-table td:last-child {
        white-space: normal;
    }
}

/* ========================================
   RESPONSIVE PARA MÓVILES - MEJORAS COMPLETAS
   ======================================== */

@media (max-width: 768px) {
    /* Contenedor principal */
    .container {
        padding: 1rem;
        max-width: 100%;
    }

    /* Header */
    .header {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .logo-container {
        width: 120px;
        height: 120px;
        margin-bottom: 1rem;
    }

    h1 {
        font-size: 2rem !important;
        letter-spacing: 2px;
        margin-bottom: 0.5rem;
    }

    .subtitle {
        font-size: 0.9rem !important;
        letter-spacing: 1px;
    }

    /* Menú de botones */
    .menu-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        flex-wrap: wrap;
    }

    .menu-button {
        min-width: auto;
        max-width: 100%;
        width: 100%;
        padding: 12px 15px;
        font-size: 0.85rem;
        margin: 0;
    }

    /* Formularios */
    .form-container, .result-container {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }

    .form-title {
        font-size: 1.5rem !important;
        letter-spacing: 2px;
        margin-bottom: 1.5rem;
    }

    /* Inputs y campos */
    input[type="text"],
    input[type="number"],
    input[type="email"],
    select,
    textarea {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }

    label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    /* Botones */
    .submit-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        letter-spacing: 2px;
        width: 100%;
    }

    .submit-button.delete {
        margin-top: 1rem;
    }

    /* Botones de opciones */
    .button-group {
        flex-direction: column;
        gap: 8px;
    }

    .option-button {
        width: 100%;
        padding: 0.8rem;
        font-size: 0.85rem;
    }

    /* Dashboard */
    .dashboard {
        padding: 1rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Tablas */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .clients-table {
        font-size: 0.75rem;
        min-width: 600px;
    }

    .clients-table th,
    .clients-table td {
        padding: 0.6rem 0.4rem;
        font-size: 0.75rem;
    }

    .client-status {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }

    /* Botones de acción en tablas */
    .action-button {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
        margin: 2px;
        display: block;
        width: 100%;
    }

    /* Búsqueda */
    .search-container {
        margin-bottom: 1rem;
    }

    .search-input {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .search-button {
        width: 100%;
        margin-top: 0.5rem;
        padding: 0.8rem;
    }

    /* Detalles de usuario/cliente */
    .client-details,
    .user-details {
        padding: 1rem;
    }

    .client-header,
    .user-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .back-button {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }

    .client-stats,
    .user-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    /* Mensajes */
    .message {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    /* Detalles de resultados */
    .details {
        padding: 15px;
    }

    .details h3 {
        font-size: 1.2rem;
    }

    .details li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .email {
        font-size: 0.9rem;
        word-break: break-all;
    }

    .days {
        font-size: 0.85rem;
        min-width: auto;
        text-align: left;
    }

    /* Formulario de archivo */
    .file-input-container {
        gap: 0.8rem;
    }

    .file-input-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
    }

    .file-name {
        font-size: 0.8rem;
        text-align: center;
        word-break: break-all;
    }

    /* Texto con fuego */
    .fire-text {
        font-size: 3rem;
        gap: 0.2rem;
    }

    /* Modal */
    .modal-content {
        padding: 20px;
        width: 95%;
        max-width: none;
    }

    .modal-content h3 {
        font-size: 1.3rem;
    }

    .modal-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .modal-buttons .submit-button {
        width: 100%;
    }

    /* Cuentas exclusivas */
    .exclusive-form {
        padding: 15px;
    }

    .exclusive-tabs {
        flex-direction: column;
        gap: 8px;
    }

    .tab-button {
        width: 100%;
        padding: 12px;
    }

    .exclusive-actions {
        flex-direction: column;
        gap: 10px;
    }

    .exclusive-button {
        width: 100%;
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .exclusive-table {
        font-size: 0.7rem;
        min-width: 600px;
    }

    .exclusive-table th,
    .exclusive-table td {
        padding: 8px 5px;
        font-size: 0.7rem;
    }

    /* Textarea */
    textarea#userEmails,
    textarea#freeEmails,
    .exclusive-form textarea,
    .modal-content textarea {
        min-height: 120px;
        font-size: 0.9rem;
        padding: 0.8rem;
    }

    /* Contador de correos */
    .email-counter {
        font-size: 0.8rem;
    }

    /* Botones de tipo de usuario */
    .type-button {
        padding: 12px 15px;
        font-size: 0.85rem;
    }

    /* Información de usuario a eliminar */
    .user-info {
        padding: 1rem;
    }

    .user-detail-item {
        margin-bottom: 0.8rem;
        font-size: 0.9rem;
    }

    .email-list {
        padding-left: 1rem;
    }

    .email-list li {
        font-size: 0.85rem;
        margin: 5px 0;
        word-break: break-all;
    }

    /* Ajustes de grid en móvil */
    #menu {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0.8rem;
    }

    #menu button {
        padding: 10px 20px;
        font-size: 0.8rem;
        width: 100%;
    }

    /* Ocultar efectos pesados en móvil */
    body::before,
    .container::after {
        display: none;
    }

    /* Simplificar animaciones en móvil */
    .header {
        animation: none;
    }

    .form-container,
    .result-container {
        animation: none;
    }

    /* Ajustes de viewport */
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }

    /* Mejorar touch targets */
    button,
    .menu-button,
    .action-button,
    .submit-button {
        min-height: 44px;
    }

    /* Espaciado entre elementos */
    .form-group {
        margin-bottom: 1.2rem;
    }
}

/* Ajustes para pantallas muy pequeñas (< 400px) */
@media (max-width: 400px) {
    h1 {
        font-size: 1.5rem !important;
    }

    .logo-container {
        width: 100px;
        height: 100px;
    }

    .fire-text {
        font-size: 2rem;
    }

    .form-title {
        font-size: 1.2rem !important;
    }

    .clients-table,
    .exclusive-table {
        font-size: 0.65rem;
    }

    .action-button {
        font-size: 0.65rem;
        padding: 0.3rem 0.5rem;
    }
}

/* Ajustes para tablets (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 1.5rem;
    }

    .menu-buttons {
        flex-wrap: wrap;
    }

    .menu-button {
        min-width: calc(50% - 10px);
        flex: 0 0 calc(50% - 10px);
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-table {
        font-size: 0.9rem;
    }
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Orientación horizontal en móvil */
@media (max-width: 768px) and (orientation: landscape) {
    .header {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .logo-container {
        width: 80px;
        height: 80px;
        margin-bottom: 0.5rem;
    }

    h1 {
        font-size: 1.5rem !important;
        margin-bottom: 0.3rem;
    }

    .subtitle {
        font-size: 0.8rem !important;
    }

    .menu-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .menu-button {
        flex: 0 0 calc(50% - 5px);
        min-width: calc(50% - 5px);
    }
}
