/**
 * Estilos para el formulario de lista de espera.
 *
 * @package AnimaTalleres
 */

.atc-waitlist {
    max-width: 480px;
    margin: 1.5em 0;
    padding: 1.5em;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
}

.atc-waitlist h3 {
    margin: 0 0 0.5em;
    font-size: 1.2em;
}

.atc-waitlist p {
    margin: 0 0 1em;
    color: #666;
    font-size: 0.95em;
}

.atc-waitlist-fields {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
}

.atc-waitlist input[type="email"] {
    width: 100%;
    padding: 0.75em;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px; /* iOS zoom fix */
    box-sizing: border-box;
}

.atc-waitlist-privacy {
    display: flex;
    align-items: flex-start;
    gap: 0.5em;
    font-size: 0.85em;
    text-align: left;
    color: #666;
}

.atc-waitlist-privacy input[type="checkbox"] {
    margin-top: 0.2em;
    flex-shrink: 0;
}

.atc-waitlist-submit {
    padding: 0.75em 2em;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
}

.atc-waitlist-submit:hover {
    background: #555;
}

.atc-waitlist-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Honeypot: ocultar campo trampa */
.atc-waitlist-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* Mensajes */
.atc-waitlist-message {
    margin-top: 0.75em;
    padding: 0.5em;
    border-radius: 4px;
    font-size: 0.95em;
}

.atc-waitlist-message--success {
    color: #2e7d32;
    background: #e8f5e9;
}

.atc-waitlist-message--error {
    color: #c62828;
    background: #ffebee;
}

/* ─── Botón de inscripción ─────────────────────────────────── */
.atc-inscripcion-btn {
    display: inline-block;
    padding: 1em 2.5em;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: bold;
    letter-spacing: 0.05em;
    transition: background 0.2s;
}

.atc-inscripcion-btn:hover {
    background: #555;
    color: #fff;
}

/* Plazas */
.atc-plazas {
    font-weight: bold;
}

.atc-plazas--agotado {
    color: #c62828;
}
