/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f6f8;
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Contenedor del formulario */
.form-container {
    background: #ffffff;
    padding: 40px 50px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    width: 400px;
    max-width: 90%;
    text-align: center;
    animation: fadeIn 1s ease;
}

/* Títulos */
.form-container h1 {
    margin-bottom: 10px;
    font-size: 26px;
    color: #093d7e;
}

.form-container p {
    margin-bottom: 25px;
    font-size: 16px;
    color: #555;
}

/* Input de código */
#codigoSuscriptor {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 18px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#codigoSuscriptor:focus {
    border-color: #0066cc;
    box-shadow: 0 0 8px rgba(0, 102, 204, 0.3);
    outline: none;
}

/* Botón de búsqueda */
#buscarBtn {
    width: 100%;
    padding: 14px;
    background-color: #0066cc;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

#buscarBtn:hover {
    background-color: #004999;
    transform: scale(1.03);
}

/* Estilo del Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeInModal 0.5s ease;
}

/* Contenido del Modal */
.modal-content {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    animation: popUp 0.5s ease;
}

/* Botón de cerrar modal */
.cerrar-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: #333;
    cursor: pointer;
}

/* Botones dentro del modal */
#accionesModal a,
#accionesModal button {
    display: inline-block;
    margin: 10px 5px 0;
    padding: 12px 20px;
    background-color: #0066cc;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    text-decoration: none;
}

#accionesModal a:hover,
#accionesModal button:hover {
    background-color: #004999;
    transform: scale(1.05);
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popUp {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .form-container {
        padding: 30px 20px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .form-container h1 {
        font-size: 22px;
    }

    .form-container p {
        font-size: 14px;
    }

    #codigoSuscriptor {
        font-size: 16px;
        padding: 12px;
    }

    #buscarBtn {
        font-size: 16px;
        padding: 12px;
    }

    .modal-content {
        width: 90%;
        padding: 25px 20px;
    }
}