/* Estilos para el Popup Modal de Contacto */
.webc-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.webc-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.webc-modal-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.webc-modal-overlay.active .webc-modal-content {
    transform: translateY(0);
}

.webc-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.webc-modal-title {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.webc-modal-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    color: #333;
}

.webc-form-group {
    margin-bottom: 15px;
}

.webc-localizacion2 {
    display: none;
}

.webc-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.webc-form-group input[type="text"],
.webc-form-group input[type="email"],
.webc-form-group input[type="tel"],
.webc-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.webc-form-group input[type="text"]:focus,
.webc-form-group input[type="email"]:focus,
.webc-form-group input[type="tel"]:focus,
.webc-form-group textarea:focus {
    border-color: var(--theme-base);
    outline: none;
}

.webc-form-checkbox {
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
}

.webc-form-checkbox input {
    margin-top: 3px;
    margin-right: 10px;
}

.webc-form-submit {
    margin-top: 20px;
}

.webc-btn-submit {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s;
}

/* .webc-btn-submit:hover {
    background-color: #0056b3;
} */

.webc-btn-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.webc-form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.webc-form-message.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

.webc-form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}
