/**
 * Estilos para el frontend del módulo de seminarios
 *
 * @link       https://bosquestudio.cl
 * @since      1.0.0
 *
 * @package    Bosque_Powerups
 * @subpackage Bosque_Powerups/modules/seminar_management/assets/css
 */

/* Estilos generales */
.bp-seminar-container {
    margin: 30px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.bp-seminar-container * {
    box-sizing: border-box;
}

/* Formulario de registro */
.bp-seminar-registration-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 5px;
    border: 1px solid #e5e5e5;
}

.bp-seminar-registration-form h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5em;
    color: #333;
}

.bp-form-row {
    margin-bottom: 15px;
}

.bp-form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.bp-form-row input[type="text"],
.bp-form-row input[type="email"],
.bp-form-row input[type="tel"],
.bp-form-row textarea,
.bp-form-row select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.4;
}

.bp-form-row input[type="text"]:focus,
.bp-form-row input[type="email"]:focus,
.bp-form-row input[type="tel"]:focus,
.bp-form-row textarea:focus,
.bp-form-row select:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 1px #0073aa;
}

.bp-form-row textarea {
    height: 100px;
    resize: vertical;
}

.bp-form-row .bp-required {
    color: #d63638;
    margin-left: 3px;
}

.bp-form-submit {
    margin-top: 20px;
}

.bp-submit-button {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.bp-submit-button:hover {
    background-color: #005a87;
}

.bp-submit-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Mensajes */
.bp-form-message {
    padding: 10px 15px;
    margin: 15px 0;
    border-radius: 4px;
    display: none;
}

.bp-form-message.bp-success {
    background-color: #f0f6e3;
    color: #46b450;
    border-left: 4px solid #46b450;
    display: block;
}

.bp-form-message.bp-error {
    background-color: #fbeaea;
    color: #d63638;
    border-left: 4px solid #d63638;
    display: block;
}

.bp-form-message.bp-info {
    background-color: #e5f5fa;
    color: #0073aa;
    border-left: 4px solid #0073aa;
    display: block;
}

/* Capacidad llena */
.bp-capacity-full {
    background-color: #f6f7f7;
    padding: 20px;
    border-left: 4px solid #555;
    margin-bottom: 20px;
}

.bp-capacity-full h3 {
    margin-top: 0;
    color: #333;
}

/* Spinner de carga */
.bp-loading-spinner {
    display: none;
    margin-left: 10px;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 115, 170, 0.2);
    border-radius: 50%;
    border-top-color: #0073aa;
    animation: bp-spin 1s linear infinite;
}

@keyframes bp-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 767px) {
    .bp-seminar-registration-form {
        padding: 15px;
    }
    
    .bp-form-row input[type="text"],
    .bp-form-row input[type="email"],
    .bp-form-row input[type="tel"],
    .bp-form-row textarea,
    .bp-form-row select {
        font-size: 14px;
        padding: 8px;
    }
    
    .bp-submit-button {
        width: 100%;
        padding: 12px;
    }
}

/* Accesibilidad */
.bp-screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.bp-screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #0073aa;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
