body {
    background-color: #f8fafc;
}
.form-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}
.summary-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    border: 2px solid #FDCE03;
}
.form-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #334155;
    margin-bottom: 6px;
}
.form-control, .form-select {
    font-family: 'Montserrat', sans-serif;
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    padding: 11px 16px;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
    color: #1e293b;
}
.form-control:focus, .form-select:focus {
    border-color: #FDCE03;
    box-shadow: 0 0 0 3px rgba(253, 206, 3, 0.15);
    outline: none;
}
.input-group-text {
    background-color: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-right: none;
    border-radius: 10px 0 0 10px;
    color: #64748b;
    font-weight: 500;
    font-size: 14px;
}
.input-group > .form-control {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.error-text {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}
.btn-submit {
    background-color: #FDCE03;
    color: #0f172a;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease-in-out;
}
.btn-submit:hover {
    background-color: #e4b803;
    transform: translateY(-1px);
}
.titulo-con-flecha {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 2rem;
}
.flecha-atras {
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    color: #334155;
    text-decoration: none;
}
.flecha-atras:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}
.icono-flecha {
    width: 20px;
    height: 20px;
}
.btn-volver {
    background-color: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
    transition: all 0.2s ease-in-out;
}
.btn-volver:hover {
    background-color: #e2e8f0 !important;
    color: #0f172a !important;
}

/* ---------- Stepper Fixed Variables ---------- */
:root {
    --primary: #FDCE03;
    --neutral: #cbd5e1;
    --circle: 44px;
    --anim-speed: 0.6s;
    --anim-curve: cubic-bezier(0.6, 0, 0.2, 1);
}

/* ---------- Stepper CSS ---------- */
.stepper-wrapper {
    font-family: 'Montserrat', sans-serif;
    padding: 1rem 0;
}
.stepper-container {
    width: 100%;
    max-width: 500px;
    margin: auto;
}
.stepper {
    position: relative;
    height: 120px;
}
.steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: var(--circle);
    z-index: 2;
    top: 10px;
}
.step {
    width: var(--circle);
    height: var(--circle);
    border-radius: 50%;
    background: #cbd5e1 !important;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: background 0.3s;
    z-index: 3;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.step span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
.step.active {
    background: #FDCE03 !important;
    color: #0f172a;
}
.step-label {
    font-size: 12px;
    font-weight: bold;
    color: #64748b;
    text-align: center;
    position: absolute;
    top: 82px;
    width: 120px;
    left: 50%;
    transform: translateX(-50%);
    transition: color 0.3s ease;
}
.step.active .step-label {
    color: #0f172a;
}
.track {
    position: absolute;
    top: 70px;
    left: calc(var(--circle)/2);
    right: calc(var(--circle)/2);
    height: 6px;
    background: #cbd5e1 !important;
    border-radius: 3px;
    z-index: 0;
    width: auto;
}
.progress-line {
    position: absolute;
    top: 70px;
    left: calc(var(--circle)/2);
    height: 6px;
    background: #FDCE03 !important;
    border-radius: 3px;
    z-index: 1;
    transition: width var(--anim-speed) var(--anim-curve);
}
.car {
    position: absolute;
    top: 60px;
    width: 56px;
    height: 23px;
    transition: left var(--anim-speed) var(--anim-curve);
    z-index: 4;
}
@media (max-width: 767px) {
    .car {
        display: none;
    }
}
@media (max-width: 576px) {
    .stepper-container {
        max-width: 260px !important;
        margin: 0 auto !important;
        display: block !important;
    }
    .stepper {
        height: 90px !important;
    }
    .step-label {
        font-size: 10px !important;
        width: 110px !important;
        top: 50px !important;
    }
    #btn-step-node-1 .step-label {
        left: 0 !important;
        transform: none !important;
        text-align: left !important;
    }
    #btn-step-node-2 .step-label {
        left: auto !important;
        right: 0 !important;
        transform: none !important;
        text-align: right !important;
    }
    .track {
        top: 30px !important;
    }
    .progress-line {
        top: 30px !important;
    }
    .titulo-con-flecha h1 {
        font-size: 20px !important;
        padding-left: 45px !important;
        padding-right: 45px !important;
    }
    .btn-submit, .btn-volver {
        padding: 0.5rem 1.25rem !important;
        font-size: 14px !important;
        border-radius: 10px !important;
    }
}
/* Grid Datepicker Custom Styles */
.months-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    background-color: #e2e8f0; /* Border color simulating table borders */
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid #e2e8f0;
}
.month-cell {
    background-color: #f8fafc;
    border: none;
    color: #475569;
    font-weight: 700;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    padding: 24px 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease;
    outline: none;
}
.month-cell:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}
.month-cell.active {
    background-color: #1e70e3; /* Premium blue active color like image */
    color: #ffffff !important;
}

/* Day list custom styles */
.day-list-container {
    display: flex;
    flex-direction: column;
    max-height: 260px;
    overflow-y: auto;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background-color: #ffffff;
}
.day-list-item {
    background-color: #ffffff;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    padding: 12px 16px;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
    width: 100%;
    outline: none;
}
.day-list-item:last-child {
    border-bottom: none;
}
.day-list-item:hover {
    background-color: #f1f5f9;
    color: #0f172a;
    padding-left: 20px; /* Slight micro-animation on hover */
}
.day-list-item.active {
    background-color: #1e70e3;
    color: #ffffff;
}