* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 10px;
}

/* CONTENEDOR */
.container {
    display: flex;
    width: 100%;
    max-width: 1000px;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* SECCIÓN FORMULARIO */
.form-section {
    flex: 1;
    background: linear-gradient(135deg, #E8D963 0%, #D4C540 100%);
    padding: 30px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-container {
    width: 100%;
    max-width: 360px;
}

.form-group {
    position: relative;
    margin-bottom: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 5px;
    font-size: 13px;
    color: #333;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 90px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
}

/* ASTERISCO */
.required {
    position: absolute;
    right: 10px;
    top: 10px;
    color: #e74c3c;
    font-size: 14px;
    font-weight: bold;
}

/* TIPO DE CONSULTA */
.type-section {
    margin-bottom: 12px;
}

.type-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

/* SELECT */
.form-group select {
    appearance: none;
    cursor: pointer;
    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='%23333' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 35px;
}

/* TEXTO CONSULTA */
.query-label {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    margin: 14px 0;
    color: #333;
}

/* BOTÓN */
.submit-btn {
    width: 100%;
    padding: 12px;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #27ae60;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    transform: translateY(-1px);
}

/* SECCIÓN INFORMACIÓN */
.info-section {
    flex: 1;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 30px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.info-content {
    max-width: 360px;
    text-align: right;
}

.info-content h1 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.info-content p {
    font-size: 14px;
    line-height: 1.5;
    color: #ccc;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .info-content {
        text-align: center;
    }

    .info-content h1 {
        font-size: 26px;
    }
}

/* MODALES */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 360px;
    width: 90%;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #E8D963 0%, #D4C540 100%);
    padding: 14px;
    text-align: center;
}

.modal-header h2 {
    font-size: 18px;
}

.modal-body {
    padding: 20px;
    text-align: center;
}

.success-icon,
.error-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin: 0 auto 15px;
}

.success-icon {
    background: #2ecc71;
}

.error-icon {
    background: #ff6b6b;
}

.modal-footer {
    padding: 15px;
    text-align: center;
}

.modal-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    background: #E8D963;
    font-weight: 600;
    cursor: pointer;
}
