/* Estilos globales para la muestra de templates - Tema Compacto con Oscuridad Transparente */
body {
    background-color: #343a40; /* Fondo general más oscuro para que se note la transparencia */
    color: #f8f9fa; /* Texto claro por defecto en el body */
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.a24ff31f6bece-global-template-showcase {
    max-width: 850px;
    margin: 25px auto;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo negro con 50% de transparencia */
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4); /* Sombra más pronunciada para destacar */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Borde blanco sutil y transparente */
}

.a24ff31f6bece-global-template-showcase h2 {
    color: #ffffff; /* Letras blancas */
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

.a24ff31f6bece-global-template-section {
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15); /* Borde blanco sutil y transparente */
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.3); /* Fondo negro con 30% de transparencia */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Sombra un poco más visible */
}

.a24ff31f6bece-global-template-section h3 {
    color: #ffffff; /* Letras blancas */
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Borde blanco sutil y transparente */
    padding-bottom: 8px;
    font-weight: 500;
}

.a24ff31f6bece-global-template-section p {
    color: rgba(255, 255, 255, 0.8); /* Letras blancas con un poco de transparencia */
    font-size: 0.9em;
    margin-bottom: 12px;
    line-height: 1.5;
}

/* Templates de ancho completo */
.a24ff31f6bece-global-full-small {
    width: 100%;
    height: 50px;
    background: rgba(0, 123, 255, 0.7); /* Azul primario con transparencia */
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 8px 0;
    box-sizing: border-box;
    padding: 8px;
    text-align: center;
    font-weight: 500;
    font-size: 0.9em;
}

.a24ff31f6bece-global-full-medium {
    width: 100%;
    height: 90px;
    background: rgba(23, 162, 184, 0.7); /* Azul cian con transparencia */
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 8px 0;
    box-sizing: border-box;
    padding: 8px;
    text-align: center;
    font-weight: 500;
    font-size: 0.95em;
}

.a24ff31f6bece-global-full-large {
    width: 100%;
    height: 200px;
    background: rgba(220, 53, 69, 0.7); /* Rojo con transparencia */
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 8px 0;
    box-sizing: border-box;
    padding: 8px;
    text-align: center;
    font-weight: 500;
    font-size: 1em;
}

.a24ff31f6bece-global-full-x-large {
    width: 100%;
    height: 400px;
    background: rgba(111, 66, 193, 0.7); /* Púrpura oscuro con transparencia */
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 8px 0;
    box-sizing: border-box;
    padding: 8px;
    text-align: center;
    font-weight: 500;
    font-size: 1.1em;
}

/* Estilos para el template anidado */
.a24ff31f6bece-global-nested-container {
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Fondo negro con 40% de transparencia */
    border: 1px dashed rgba(255, 255, 255, 0.2); /* Borde blanco punteado sutil y transparente */
    border-radius: 8px;
    margin: 15px 0;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.a24ff31f6bece-global-nested-title {
    text-align: center;
    color: #ffffff; /* Letras blancas */
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.6em;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* Borde blanco sutil y transparente */
}

.a24ff31f6bece-global-nested-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.8); /* Letras blancas con un poco de transparencia */
    margin-bottom: 25px;
    font-size: 0.95em;
    line-height: 1.6;
}

.a24ff31f6bece-global-full-small-nested-parent {
    width: 100%;
    height: 50px;
    background: rgba(255, 193, 7, 0.7); /* Amarillo/naranja con transparencia */
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white; /* Letras blancas */
    margin: 10px 0;
    box-sizing: border-box;
    padding: 8px;
    text-align: center;
    font-weight: 500;
}

.a24ff31f6bece-global-nested-full-large {
    width: 100%;
    height: 200px;
    background: rgba(220, 53, 69, 0.7);
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 10px 0;
    font-weight: 500;
    box-sizing: border-box;
    padding: 8px;
    text-align: center;
}
.a24ff31f6bece-global-nested-full-x-large {
    width: 100%;
    height: 400px;
    background: rgba(111, 66, 193, 0.7);
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 10px 0;
    font-weight: 500;
    box-sizing: border-box;
    padding: 8px;
    text-align: center;
}

.a24ff31f6bece-global-half-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    margin-bottom: 25px;
}

.a24ff31f6bece-global-half-box {
    flex: 1 1 calc(50% - 7.5px);
    min-width: 280px;
    height: 200px;
    background: rgba(0, 123, 255, 0.7);
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-sizing: border-box;
    padding: 8px;
    text-align: center;
    font-weight: 500;
}

.a24ff31f6bece-global-half-box-medium {
    flex: 1 1 calc(50% - 7.5px);
    min-width: 280px;
    height: 90px;
    background: rgba(40, 167, 69, 0.7); /* Verde con transparencia */
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-sizing: border-box;
    padding: 8px;
    text-align: center;
    font-weight: 500;
}

.a24ff31f6bece-global-input-group {
    margin-bottom: 18px;
}

.a24ff31f6bece-global-input-label {
    display: block;
    margin-bottom: 6px;
    color: #ffffff; /* Letras blancas */
    font-weight: 500;
    font-size: 0.9em;
}

.a24ff31f6bece-global-input-field {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Borde blanco transparente */
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    transition: all 0.2s ease;
    min-height: 45px;
    background-color: rgba(0, 0, 0, 0.4); /* Fondo de input negro con transparencia */
    color: #ffffff; /* Letras blancas */
}

.a24ff31f6bece-global-input-field::placeholder {
    color: rgba(255, 255, 255, 0.6); /* Placeholder blanco suave */
}

.a24ff31f6bece-global-input-field:focus {
    border-color: rgba(255, 255, 255, 0.5); /* Borde de enfoque blanco más visible */
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25); /* Sombra de enfoque blanca */
    background-color: rgba(0, 0, 0, 0.5); /* Fondo de enfoque ligeramente más oscuro */
}

/* Altura específica para el input de cuota */
.a24ff31f6bece-global-input-field.input-cuota {
    height: 45px;
}

.a24ff31f6bece-global-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    font-size: 14px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 24 24\' fill=\'none\' stroke=\'white\' stroke-width=\'2\' stroke-linecap=\'round\' stroke-linejoin=\'round\'%3e%3cpolyline points=\'6 9 12 15 18 9\'%3e%3c/polyline%3e%3c/svg%3e"); /* Flecha blanca */
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 0.9em;
    height: 45px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.a24ff31f6bece-global-select:focus {
    border-color: rgba(255, 255, 255, 0.5);
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    background-color: rgba(0, 0, 0, 0.5);
}

.a24ff31f6bece-global-textarea {
    min-height: 100px;
    resize: vertical;
}

.a24ff31f6bece-global-additional-section {
    margin-top: 25px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.35); /* Fondo negro con 35% de transparencia */
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.a24ff31f6bece-global-additional-section div {
    color: #ffffff; /* Letras blancas */
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1em;
}

.a24ff31f6bece-global-additional-section p {
    color: rgba(255, 255, 255, 0.8); /* Letras blancas con un poco de transparencia */
    margin-bottom: 12px;
}

/* Contenedor para botones */
.a24ff31f6bece-global-button-row {
    display: flex;
    gap: 15px; /* Aumentado ligeramente para mejor separación visual */
    width: 100%;
    margin-top: 25px;
    justify-content: center;
    flex-wrap: wrap; /* Permite que los botones se envuelvan en pantallas pequeñas */
}

.a24ff31f6bece-global-button {
    /* flex: 1; Esto lo quitamos para controlar el ancho con flex-basis */
    flex-basis: calc(50% - 7.5px); /* Ancho medio con el gap, ajustado para pantallas más grandes */
    max-width: 250px; /* Limite de ancho para que no se estiren demasiado en pantallas muy grandes */
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Sombra más visible */
    border: none; /* Sin borde */
}

.a24ff31f6bece-global-button-send {
    background-color: #28a745; /* Verde de Bootstrap */
    color: white;
}

.a24ff31f6bece-global-button-send:hover {
    background-color: #218838;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

.a24ff31f6bece-global-button-cancel {
    background-color: #6c757d; /* Gris de Bootstrap */
    color: white;
}

.a24ff31f6bece-global-button-cancel:hover {
    background-color: #5a6268;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Línea divisoria blanca sutil y transparente */
    margin: 30px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .a24ff31f6bece-global-half-box,
    .a24ff31f6bece-global-half-box-medium {
        flex: 1 1 100%;
        min-width: unset;
    }
    
    .a24ff31f6bece-global-nested-container {
        padding: 15px;
    }

    .a24ff31f6bece-global-button-row {
        flex-direction: column; /* Apilar en móviles */
        gap: 10px;
        align-items: stretch;
    }

    .a24ff31f6bece-global-button {
        flex-basis: auto; /* Desactivar flex-basis para que se estire */
        max-width: 100%; /* Ocupar todo el ancho disponible en móvil */
        padding: 10px 15px;
        font-size: 14px;
        height: 40px;
    }

    .a24ff31f6bece-global-template-showcase {
        padding: 10px;
        margin: 15px auto;
    }

    .a24ff31f6bece-global-template-showcase h2 {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .a24ff31f6bece-global-template-section {
        padding: 10px;
        margin-bottom: 20px;
    }

    .a24ff31f6bece-global-input-field,
    .a24ff31f6bece-global-select {
        padding: 8px 10px;
        font-size: 13px;
        min-height: 40px;
        height: 40px;
    }
    .a24ff31f6bece-global-textarea {
        min-height: 80px;
    }
}




.clubpro-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group select,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group textarea {
    min-height: 100px;
}

.submit-button {
    background: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.submit-button:hover {
    background: #45a049;
}

#clubpro-response {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
}

.success {
    background: #dff0d8;
    color: #3c763d;
}

.error {
    background: #f2dede;
    color: #a94442;
}


/* Añade esto a tu archivo CSS */
.response-success {
    background: #d4edda;
    color: #155724;
    padding: 20px;
    border-radius: 5px;
    border-left: 5px solid #28a745;
}

.response-warning {
    background: #fff3cd;
    color: #856404;
    padding: 20px;
    border-radius: 5px;
    border-left: 5px solid #ffc107;
}

.response-error {
    background: #f8d7da;
    color: #721c24;
    padding: 20px;
    border-radius: 5px;
    border-left: 5px solid #dc3545;
}

#clubpro-response h3 {
    margin-top: 0;
    margin-bottom: 10px;
}