
.sparques-wrapper {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: #ec4899;
    --bg-color: #0f172a;
    --surface: rgba(30, 41, 59, 0.7);
    --surface-border: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --input-bg: rgba(15, 23, 42, 0.6);
    --input-border: rgba(255, 255, 255, 0.15);
    --input-focus: #818cf8;
    --btn-text: #ffffff;
    
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    background-color: var(--bg-color);
    color: var(--text-main);
    padding: 3rem 1rem;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-sizing: border-box;
}

.sparques-wrapper * {
    box-sizing: border-box;
}

/* Background Animated Blobs (Bienestarcorp Signature) */
.sparques-wrapper .background-elements {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

.sparques-wrapper .blob {
    position: absolute;
    filter: blur(60px);
    border-radius: 50%;
    opacity: 0.35;
    animation: sp-float 20s infinite ease-in-out alternate;
}

.sparques-wrapper .blob-1 {
    top: -15%; left: -10%;
    width: 450px; height: 450px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
}

.sparques-wrapper .blob-2 {
    bottom: -15%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--secondary), transparent 70%);
    animation-delay: -5s;
}

@keyframes sp-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 30px) scale(1.08); }
}

.sparques-container {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header */
.sparques-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.sparques-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #a5b4fc;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.sparques-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.sparques-header p.sparques-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin: 0;
}

/* Glass Form Container */
.sparques-wrapper .glass-form {
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    padding: 2.8rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Important Notice Banner (Glassmorphism Warning) */
.sparques-notice-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-left: 4px solid #f59e0b;
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 2.5rem;
}

.sparques-notice-title {
    color: #fbbf24;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sparques-notice-box ul {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.92rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.sparques-notice-box li {
    margin-bottom: 0.35rem;
}

/* Section Titles with Gradient Accent Bar (Bienestarcorp Style) */
.sparques-section-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sparques-section-title::before {
    content: '';
    display: block;
    width: 6px;
    height: 24px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 4px;
}

/* Form Layout */
.sparques-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.sparques-form-row.col-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.sparques-form-row.col-1 {
    grid-template-columns: 1fr;
}

.sparques-form-group {
    display: flex;
    flex-direction: column;
}

.sparques-wrapper label {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.sparques-wrapper .required {
    color: var(--secondary);
}

/* Inputs & Selects with Dark Glass Styling */
.sparques-wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.sparques-wrapper select {
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-main);
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sparques-wrapper select option {
    background: #1e293b;
    color: #ffffff;
}

.sparques-wrapper input:focus,
.sparques-wrapper select:focus {
    border-color: var(--input-focus);
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.2);
}

.sparques-help {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

/* Details Box for Park Description */
.sparques-desc-box {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 1.3rem;
    margin-bottom: 1.5rem;
}

.sparques-desc-box h4 {
    color: var(--text-muted);
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
}

.sparques-desc-box .desc-content {
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* Attendees Cards */
.asistente-card {
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 1.2rem 1.4rem;
    margin-bottom: 1rem;
}

.asistente-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #818cf8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.85rem;
}

/* Financial Summary Card (Bienestarcorp Cart Style) */
.sparques-summary-card {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    padding: 1.6rem;
    margin-top: 1rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.summary-line strong {
    color: var(--text-main);
    font-size: 1.05rem;
}

.summary-line.ahorro-line {
    color: #34d399;
}
.summary-line.ahorro-line strong {
    color: #34d399;
}

.summary-line.total-line {
    border-top: 1px solid var(--surface-border);
    padding-top: 1rem;
    margin-top: 0.8rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.total-value {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--secondary);
}

/* Warning Limit Badge */
.sparques-alert-warning {
    margin-top: 1.2rem;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 12px;
    padding: 1rem 1.3rem;
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.sparques-alert-warning .alert-icon {
    color: #fbbf24;
    font-size: 1.4rem;
}

.sparques-alert-warning strong {
    color: #fef3c7;
    font-size: 0.95rem;
}

.sparques-alert-warning p {
    margin: 0.25rem 0 0 0;
    font-size: 0.88rem;
    color: #fde68a;
    line-height: 1.45;
}

/* Legal & Authorization Box */
.legal-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.2rem;
    border-radius: 10px;
    border: 1px solid var(--surface-border);
    font-size: 0.88rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.92rem;
    color: #e2e8f0;
}

.checkbox-label input {
    margin-top: 0.25rem;
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}

/* Signature Pad (Dark Border with Crisp Surface) */
.signature-container {
    background: rgba(255, 255, 255, 0.95);
    border: 2px dashed rgba(99, 102, 241, 0.6);
    border-radius: 12px;
    width: 100%;
    height: 190px;
    position: relative;
    margin-top: 0.6rem;
    overflow: hidden;
}

.signature-pad {
    width: 100%;
    height: 100%;
    cursor: crosshair;
}

.qty-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    margin-top: 0.6rem;
    font-family: inherit;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Submit Actions */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.2rem;
    padding-top: 1.8rem;
    border-top: 1px solid var(--surface-border);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--btn-text);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.4);
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(99, 102, 241, 0.5);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Feedback message */
.sparques-feedback {
    margin-top: 1.5rem;
    padding: 1.2rem;
    border-radius: 12px;
    font-size: 0.95rem;
}

.sparques-feedback.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid #10b981;
    color: #6ee7b7;
}

.sparques-feedback.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #fca5a5;
}

/* OTP Modal (Bienestarcorp b-modal Style) */
.b-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.b-modal-content {
    background: #1e293b;
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    padding: 2.5rem 2.2rem;
    text-align: center;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    animation: b-scaleIn 0.25s ease-out;
}

@keyframes b-scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.b-modal-content h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.8rem 0;
}

.b-modal-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

#otp-input {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 6px;
    width: 220px;
    margin: 0 auto 1.5rem;
    display: block;
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid var(--primary);
    color: #ffffff;
    border-radius: 12px;
    padding: 0.6rem;
    outline: none;
}

#otp-input:focus {
    border-color: var(--input-focus);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.25);
}

.primary-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--btn-text);
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    font-family: inherit;
    box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.4);
    transition: transform 0.15s;
}

.primary-btn:hover {
    transform: translateY(-1px);
}

.otp-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.btn-link-otp {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.88rem;
    cursor: pointer;
    text-decoration: underline;
    font-family: inherit;
}

.btn-link-otp:hover {
    color: #ffffff;
}

.btn-link-otp:disabled {
    color: #475569;
    cursor: not-allowed;
    text-decoration: none;
}

@media (max-width: 768px) {
    .sparques-wrapper .glass-form { padding: 1.8rem 1.2rem; }
    .sparques-form-row, .sparques-form-row.col-3 { grid-template-columns: 1fr; gap: 1rem; }
    .form-footer { flex-direction: column; gap: 1.5rem; align-items: stretch; text-align: center; }
}

/* Tarifas múltiples (v2.6) */
.tarifa-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem 1rem;margin-bottom:.6rem;background:rgba(15,23,42,.45);border:1px solid var(--input-border);border-radius:12px}
.tarifa-row.activa{border-color:var(--primary)}
.tarifa-info strong{display:block;color:var(--text-main);font-size:.95rem}
.tarifa-info small{color:var(--text-muted)}
.tarifa-qty{display:flex;align-items:center;gap:.4rem;flex-shrink:0}
.tarifa-qty .qty-btn{width:36px;height:36px;padding:0;border-radius:10px;font-size:1.2rem;line-height:1;cursor:pointer}
.tarifa-qty input{width:52px;text-align:center;padding:.45rem;border-radius:10px;background:var(--input-bg);border:1px solid var(--input-border);color:var(--text-main);-moz-appearance:textfield}
.tarifa-qty input::-webkit-inner-spin-button{-webkit-appearance:none}
.asistente-tarifa{display:inline-block;margin-left:.5rem;padding:2px 8px;border-radius:20px;background:rgba(99,102,241,.2);color:#c7d2fe;font-size:.75rem;font-weight:600}
@media(max-width:600px){.tarifa-row{flex-direction:column;align-items:flex-start}}
