body {
    background: #f4f6f9;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding-bottom: 80px; /* espacio para footer fijo */
}

.bg-caj-primary {
    background: linear-gradient(90deg, #0e4b25 0%, #18864a 60%, #20c997 100%);
}

.text-caj-primary {
    color: #0e4b25;
}

.gradient-bg {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(24, 134, 74, 0.12), transparent 55%),
                radial-gradient(circle at bottom right, rgba(32, 201, 151, 0.15), transparent 55%);
    z-index: -2;
}

.floating-shapes::before,
.floating-shapes::after {
    content: "";
    position: fixed;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(14, 75, 37, 0.04);
    backdrop-filter: blur(10px);
    z-index: -1;
    animation: float 18s ease-in-out infinite;
}

.floating-shapes::before {
    top: -40px;
    right: 10%;
}

.floating-shapes::after {
    bottom: -40px;
    left: 5%;
    animation-delay: -9s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(18px) translateX(-12px); }
}

.main-card {
    border-radius: 18px;
    overflow: hidden;
}

.logo-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo-circle i {
    font-size: 1.1rem;
}

.steps-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.step-item.active {
    opacity: 1;
    transform: translateY(-1px);
}

.step-item.completed {
    opacity: 0.9;
}

.step-number {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.15);
}

.step-item.completed .step-number {
    background: #ffffff;
    color: #0e4b25;
}

.step-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.step-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
}

.step-section {
    display: none;
    animation: fadeInUp 0.35s ease-out;
}

.step-section.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-panel,
.glass-form,
.summary-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(8px);
}

.amount-breakdown {
    border-radius: 12px;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(14, 75, 37, 0.02), rgba(32, 201, 151, 0.06));
}

.total-amount {
    border-radius: 14px;
    padding: 0.75rem 1rem 1rem;
    background: linear-gradient(135deg, rgba(14, 75, 37, 0.06), rgba(32, 201, 151, 0.12));
}

.total-amount .display-6 {
    font-size: 2.1rem;
}

.btn-caj-primary {
    background: linear-gradient(90deg, #0e4b25, #18864a);
    border: none;
    color: #fff;
    box-shadow: 0 6px 14px rgba(15, 118, 110, 0.3);
}

.btn-caj-primary:hover {
    background: linear-gradient(90deg, #0c3f1f, #14733f);
    color: #fff;
}

.btn-caj-outline {
    color: #1b1b1b;
    border: 1.5px solid #e4a041;
    background: #eebe5c;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.btn-caj-outline:hover,
.btn-caj-outline:focus {
    color: #0e4b25;
    background: linear-gradient(90deg, #e4a041, #d18b28);
    border-color: #d18b28;
    box-shadow: 0 8px 18px rgba(228, 160, 65, 0.35);
}

.btn-consultar {
    font-weight: 700;
    font-size: 0.97rem;
    padding: 0.55rem 1.15rem;
}

.btn-acceso {
    color: #4a4a4a;
    border: 1.5px solid #ced4da;
    background: #f8f9fa;
    padding: 0.45rem 0.95rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    font-weight: 600;
}

.btn-acceso:hover,
.btn-acceso:focus {
    color: #1f1f1f;
    border-color: #b0b8c0;
    background: #e9ecef;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.btn .btn-spinner {
    display: inline-flex;
    align-items: center;
}

.btn .btn-text {
    display: inline-flex;
    align-items: center;
}

.qr-wrapper {
    max-width: 380px;
    border-radius: 20px;
    padding: 1rem;
    background: radial-gradient(circle at top, #ffffff, #f1f5f9);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.qr-image {
    border-radius: 12px;
}

.footer-fixed {
    position: sticky;
    bottom: 0;
    z-index: 10;
    box-shadow: 0 -4px 12px rgba(15, 23, 42, 0.06);
}

.footer-app {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0e4b25;
    color: #e8f5ed;
    font-size: 0.9rem;
    z-index: 20;
}

.footer-app a {
    color: #e4a041;
    text-decoration: none;
    font-weight: 600;
}

.footer-app a:hover {
    color: #fff;
    text-decoration: underline;
}

.preview-wrapper img {
    max-height: 220px;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .steps-indicator {
        margin-top: 0.75rem;
        width: 100%;
        justify-content: space-between;
    }

    .main-card {
        border-radius: 0.75rem;
    }

    .qr-wrapper {
        max-width: 320px;
    }
}



