
/* a200-form.css - Estilos A200 Stands Modulares - CONTENEDOR CENTRADO, CONTENIDO IZQUIERDA */


.stonegal-a200-form {

    padding: 20px;
    text-align: left;
}

.a200-title {
    font-size: 22px;
    margin: 0 0 20px;
    font-weight: 600;
    color: #333;
    text-align: left;
}

.a200-subtitle {
    font-size: 18px;
    margin: 20px 0 10px;
    color: #444;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
    text-align: left;
}

.a200-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    justify-content: flex-start;
}

.a200-col {
    flex: 1;
    min-width: 200px;
    text-align: left;
}

/* Items de radio para stands */
.a200-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0 20px;
    align-items: flex-start;
}

.a200-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    justify-content: flex-start;
}

.a200-item:last-child {
    border-bottom: none;
}

.a200-item input[type="radio"] {
    margin: 0;
}

/* Grid de servicios adicionales */
.a200-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin: 10px 0 20px;
    justify-items: start;
}

.a200-service-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
    justify-content: flex-start;
}

.a200-service-item:hover {
    border-color: #000;
    background: #f8f8f8;
}

.a200-service-item input[type="checkbox"] {
    margin: 0;
}

/* Sección especial para requisitos */
.a200-special-section {
    background: #fff8e1;
    padding: 15px;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    margin: 15px 0;
    text-align: left;
}

.a200-special-section label {
    font-weight: 600;
    color: #b45309;
}

/* Opciones de stand */
.a200-stand-options {
    background: #f8f8f8;
    padding: 15px;
    border-radius: 4px;
    margin: 10px 0 20px;
    text-align: left;
}

/* FIRMA + COMENTARIOS - ALINEACIÓN PERFECTA */
.a200-row--signature {
    display: flex;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 20px;
    justify-content: flex-start;
}

.a200-col--signature,
.a200-col--comments {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    text-align: left;
}

.a200-signature-box,
.a200-comments-box {
    flex: 1;
    border: 1px solid #d4d4d4;
    border-radius: 0;
    padding: 12px;
    display: flex;
    flex-direction: column;
    background: #fff;
    height: 100%;
    box-sizing: border-box;
    text-align: left;
}

/* Canvas de firma */
#a200-signature-canvas {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    background: #fff;
    touch-action: none;
    cursor: crosshair;
    min-height: 140px;
}

/* Textarea de comentarios */
.a200-comments-box textarea {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 12px;
    margin: 0;
    resize: vertical;
    box-sizing: border-box;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    min-height: 140px;
    text-align: left;
}

.a200-help {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    font-style: italic;
    text-align: left;
}

/* Botones */
.a200-btn {
    border: 1px solid #000;
    background: #fff;
    color: #000;
    padding: 8px 22px;
    border-radius: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
    transition: all 0.3s ease;
}

.a200-btn:hover {
    background: #000;
    color: #fff;
}

.a200-btn--primary {
    border-color: #000;
    background: #fff;
    color: #000;
}

.a200-btn--secondary {
    align-self: flex-start;
    font-size: 12px;
    padding: 6px 16px;
    margin-top: 8px;
}

.a200-comments-actions {
    margin-top: 8px;
    display: flex;
    justify-content: flex-start;
}

.a200-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

/* Pasos del formulario */
.a200-step {
    display: none;
    text-align: left;
}

.a200-step.is-active {
    display: block;
}

/* Estilos para inputs - SIN RECUADROS, solo línea inferior Y ALINEADO IZQUIERDA */
.stonegal-a200-form input[type="text"],
.stonegal-a200-form input[type="email"],
.stonegal-a200-form input[type="tel"],
.stonegal-a200-form select,
.stonegal-a200-form textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #d4d4d4;
    background: transparent;
    padding: 8px 0;
    font-size: 14px;
    border-radius: 0;
    transition: border-color 0.3s ease;
    text-align: left;
}

.stonegal-a200-form input[type="text"]:focus,
.stonegal-a200-form input[type="email"]:focus,
.stonegal-a200-form input[type="tel"]:focus,
.stonegal-a200-form select:focus,
.stonegal-a200-form textarea:focus {
    border-bottom-color: #000;
    outline: none;
}

.stonegal-a200-form select {
    cursor: pointer;
}

.stonegal-a200-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* Labels - ALINEADO IZQUIERDA */
.stonegal-a200-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
    text-align: left;
}

/* Términos y condiciones */
.a200-terms-preview {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.a200-terms-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.a200-btn--terms {
    background: #fff;
    border: 1px solid #000;
    padding: 10px 20px;
    font-size: 14px;
}

.a200-btn--terms:hover {
    background: #000;
    color: #fff;
}

.a200-accept {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 20px;
    font-size: 14px;
    text-align: left;
    justify-content: flex-start;
}

.a200-accept input[type="checkbox"] {
    margin-top: 3px;
}

.a200-accept a {
    color: #000;
    text-decoration: underline;
}

.a200-accept a:hover {
    color: #333;
}

/* Modal Styles */
.a200-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.a200-modal-content {
    background: white;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.a200-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f8f8;
}

.a200-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.a200-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.a200-modal-close:hover {
    color: #000;
    background: #e0e0e0;
    border-radius: 50%;
}

.a200-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

.a200-modal-body h4 {
    color: #333;
    margin: 20px 0 10px 0;
    font-size: 16px;
}

.a200-modal-body p, 
.a200-modal-body ul {
    margin-bottom: 15px;
}

.a200-modal-body ul {
    padding-left: 20px;
}

.a200-modal-body li {
    margin-bottom: 8px;
}

.a200-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    background: #f8f8f8;
}

/* Estilos para el contenido cargado de WordPress */
.a200-conditions-loaded {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.a200-conditions-loaded h1 {
    font-size: 22px;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
    margin: 0 0 20px 0;
}

.a200-conditions-loaded h2 {
    font-size: 18px;
    margin: 25px 0 15px 0;
    color: #444;
}

.a200-conditions-loaded h3 {
    font-size: 16px;
    margin: 20px 0 12px 0;
    color: #555;
}

.a200-conditions-loaded h4 {
    font-size: 15px;
    margin: 18px 0 10px 0;
    color: #666;
}

.a200-conditions-loaded p {
    margin-bottom: 15px;
}

.a200-conditions-loaded ul,
.a200-conditions-loaded ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.a200-conditions-loaded li {
    margin-bottom: 8px;
}

.a200-conditions-loaded strong {
    font-weight: 600;
    color: #333;
}

.a200-conditions-loaded a {
    color: #000;
    text-decoration: underline;
}

.a200-conditions-loaded a:hover {
    color: #333;
}

/* Ocultar elementos innecesarios del contenido WordPress */
.a200-conditions-loaded header,
.a200-conditions-loaded footer,
.a200-conditions-loaded nav,
.a200-conditions-loaded .header,
.a200-conditions-loaded .footer,
.a200-conditions-loaded .navigation,
.a200-conditions-loaded .sidebar,
.a200-conditions-loaded .comments,
.a200-conditions-loaded .wp-block-navigation,
.a200-conditions-loaded .site-header,
.a200-conditions-loaded .site-footer {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .stonegal-a200-form {
        padding: 15px;
        margin: 0 10px;
    }
    
    .a200-row,
    .a200-row--signature {
        flex-direction: column;
    }
    
    .a200-col--signature,
    .a200-col--comments {
        min-height: 200px;
    }
    
    .a200-services-grid {
        grid-template-columns: 1fr;
        justify-items: start;
    }
    
    .a200-actions {
        justify-content: space-between;
    }
    
    #a200-signature-canvas,
    .a200-comments-box textarea {
        min-height: 120px;
    }
    
    .a200-comments-actions {
        justify-content: flex-start;
    }
    
    .a200-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .a200-modal-body {
        padding: 15px;
    }
    
    .a200-terms-links {
        flex-direction: column;
        align-items: center;
    }
    
    .a200-btn--terms {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .stonegal-a200-form {
        padding: 10px;
        margin: 0 5px;
    }
    
    .a200-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .a200-btn {
        width: 100%;
    }
}

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