.bg-hero {
    min-height: 100vh;
    height: auto !important;
    background-attachment: fixed !important;
}
#wizard {
    max-width: 960px;
    margin: 0 auto;
}
#wizard_form:not([data-step='1']){
    padding-top: 70px;
}
#wizard_form[data-step='1'] #steps,
#wizard_form[data-has_date='0'] .step[data-step='4'] .btn-select_date {
    display: none;
}
.btn-container {
    margin-top: 20px;
}
.btn-container .btn {
    min-width: 180px;
}
.container:has(.alert) {
    padding-top: 0 !important;
    text-align: start !important;
}

.form-group {
    margin-bottom: 10px;
}

#steps {
    overflow: hidden;
    margin-bottom: 15px;
    height: 90px;
    display: grid;
    grid-auto-columns: calc(100% / 6);
    grid-auto-flow: column;
    justify-content: center;
}
#steps .step {
    text-align: center;
    float: left;
    position: relative;
}
#steps .stepname {
    font-weight: bold;
    height: 40px;
    display: grid;
    align-items: center;
    text-align: center;
    color: var(--lightSteelBlue);
}
#steps .bar {
    text-align: center;
    position: relative;
    margin: 10px 0;
    height: 30px;
}
#steps .step .dot {
    width: 30px;
    height: 30px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    position: absolute;
    left: calc(50% - 15px);
    z-index: 3;
    background-color: var(--lightSteelBlue);
    border: none;
}
#steps .bar:before {
    position: absolute;
    top: 11px;
    left: -50%;
    width: 100%;
    height: 8px;
    content: "";
    z-index: 1;
    background-color: var(--lightSteelBlue);
}
#steps .step:first-child .bar:before {
    display: none;
}
#steps .step:first-child .dot,
#steps .step.showleft .dot {
    background-color: var(--darkSteelBlue);
    border: 8px solid var(--steelBlue);
    cursor: pointer;
}
#steps .step.showleft .bar:before {
    background-color: var(--steelBlue);
}

:root {
    --steelBlue: rgba(190, 210, 230, 1);
    --lightSteelBlue: rgba(224, 233, 244, 1);
    --darkSteelBlue: rgba(81, 100, 125, 1);
}
.btn-delete {
    display: none !important;
}


.card.glassy {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 16px;
}
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,.15);
}
.input-icon { position: relative; }
.input-icon > i {
    position: absolute;
    left: 12px;
    top: 45px;
    color: #6c757d;
    pointer-events: none;
}
.input-icon > .form-control { padding-left: 2.25rem; }
.iti { width: 100%; }
.hint { font-size:.875rem; color:#6c757d; }

/* Legend (fieldset) finomhangolás */
fieldset.bs5 { border: 1px solid #dee2e6; border-radius: .5rem; padding: 1rem 1.25rem; }
fieldset.bs5 > legend { font-size: 1rem; font-weight: 600; padding: 0 .5rem; width:auto; }

#cust_phone_pre {
    max-width: 60px !important;
}

.form-group.has-error #cust_phone_pre {
    border-color: #dc3545;
}

#overall_data label i{
    width: 16px;
    text-align: center;
}

#saveToast,
#errorToast {
    position: fixed;
    top: 100px;
    right: 0;
}
.card-header h4 {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
}
.str_date_container {
    color: green;
    grid-column: 3/4;
}
body > nav {
    display: none !important;
}
@media (max-width: 991px) {
    #steps {
        display: none !important;
    }
}
@media (max-width: 768px) {
    .btn-container .btn {
        min-width: auto;
        width: 100%;
    }
    .card-header h4 {
        grid-template-columns: auto 1fr;
    }
    .str_date_container:not(:first-child) {
        grid-row: 2/3;
        grid-column: 1/3;
    }
}