/* Estilos para el popup y sus componentes */
.waitlist-container, 
.waitlist-variable-container {
    margin: 15px 0;
}

/* Botón principal */
.waitlist-button {
    width: 100%;
    padding: 12px 20px;
    background-color: #003366;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.4;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 10px 0;
}

.waitlist-button:hover {
    background-color: #ECBA0E;
    transform: translateY(-2px);
}

/* Overlay y popup */
.waitlist-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.waitlist-popup {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 400px;
    overflow: hidden;
}

/* Cabecera del popup */
.waitlist-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
}

.waitlist-popup-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

/* Botón de cierre */
.waitlist-close-popup {
    display: inline-block;
    padding: 5px 10px;
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    line-height: 1.4;
    font-weight: normal;
}

.waitlist-close-popup:hover {
    background-color: #e0e0e0;
}

/* Cuerpo del popup */
.waitlist-popup-body {
    padding: 20px;
}

.waitlist-popup-body p {
    margin-top: 0;
    margin-bottom: 15px;
    color: #555;
    font-size: 15px;
    line-height: 1.5;
}

/* Formulario */
.waitlist-form {
    margin-top: 15px;
}

.waitlist-form-group {
    margin-bottom: 15px;
}

.waitlist-form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 500;
    color: #444;
    font-size: 14px;
}

.waitlist-email {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.waitlist-email:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 1px #2271b1;
}

.waitlist-form-footer {
    margin-top: 20px;
}

/* Botón de suscripción */
.waitlist-subscribe {
    width: 100%;
    padding: 12px 20px;
    background-color: #2271b1;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.waitlist-subscribe:hover {
    background-color: #135e96;
}

.waitlist-subscribe:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Mensajes */
.waitlist-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
}

.waitlist-message.success {
    background-color: #e7f6ea;
    color: #276c3b;
    border: 1px solid #d1e7dd;
}

.waitlist-message.error {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

/* Añadir estilos para el mensaje de info */
.waitlist-message.info {
    background-color: #e7f5ff;
    color: #0c5460;
    border: 1px solid #bee5eb;
    padding: 10px;
    margin-top: 15px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .waitlist-popup {
        width: 95%;
        max-width: 350px;
    }
}

/* Estilos para la notificación de email */
.waitlist-email-notice {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
    font-style: italic;
}

/* Estilo para input readonly */
.waitlist-email[readonly] {
    background-color: #f7f7f7 !important;
    cursor: not-allowed !important;
    border-color: #ddd !important;
} 