/**
 * Estilos para el frontend
 */

/* Botón de espera */
.product-waitlist {
    margin: 15px 0;
}

.waitlist-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    margin-top: 10px;
    transition: all 0.3s ease;
    background-color: #2fb5d2;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.waitlist-btn i {
    margin-right: 5px;
    font-size: 16px;
}

.waitlist-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #2592a9;
}

/* Formulario de suscripción */
.waitlist-subscribe-container {
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.waitlist-subscribe-container h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #2fb5d2;
}

.waitlist-product-info {
    margin-bottom: 15px;
    font-size: 16px;
    padding: 10px;
    background-color: #f8f8f8;
    border-radius: 5px;
    border-left: 3px solid #2fb5d2;
}

.waitlist-description {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.5;
}

/* Campos del formulario */
.waitlist-form .form-group {
    margin-bottom: 20px;
}

.waitlist-form label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.waitlist-form .required {
    color: #ff0000;
}

.waitlist-form .form-control {
    padding: 10px;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.2s;
}

.waitlist-form .form-control:focus {
    border-color: #2fb5d2;
    outline: none;
}

.waitlist-form .form-control.is-invalid {
    border-color: #ff0000;
}

/* Grupo RGPD */
.gdpr-group {
    margin-top: 20px;
}

.gdpr-group .checkbox {
    display: flex;
    align-items: flex-start;
}

.gdpr-group input[type="checkbox"] {
    margin-right: 8px;
    margin-top: 3px;
}

.gdpr-group label {
    font-weight: normal;
    font-size: 13px;
    line-height: 1.4;
    color: #666;
}

.gdpr-group a {
    color: #2fb5d2;
    text-decoration: underline;
}

/* Botones */
.waitlist-buttons {
    margin-top: 25px;
    display: flex;
    gap: 10px;
}

.waitlist-buttons .btn {
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}

.waitlist-buttons .btn-primary {
    background-color: #2fb5d2;
    color: white;
    border: none;
}

.waitlist-buttons .btn-primary:hover {
    background-color: #2592a9;
}

.waitlist-buttons .btn-secondary {
    background-color: #f8f8f8;
    color: #666;
    border: 1px solid #ddd;
}

.waitlist-buttons .btn-secondary:hover {
    background-color: #ececec;
}

/* Mensajes de error */
.waitlist-errors {
    margin-bottom: 20px;
    background-color: #ffd9d7;
    color: #c02b21;
    border-left: 3px solid #c02b21;
    padding: 12px 15px;
    border-radius: 5px;
}

.waitlist-errors ul {
    margin: 5px 0 0 20px;
    padding: 0;
}

/* Responsive */
@media (max-width: 767px) {
    .waitlist-subscribe-container {
        padding: 15px;
    }
    
    .waitlist-buttons {
        flex-direction: column;
    }
    
    .waitlist-buttons .btn {
        margin-bottom: 10px;
    }
}