.qw {
    --qw-navy: #0c2747;
    --qw-navy-soft: #16314e;
    --qw-gold: #e0a43b;
    --qw-gold-dark: #c3851f;
    --qw-ink: #1c2b3a;
    --qw-muted: #748598;
    --qw-line: #e3e9f1;
    --qw-bg: #f6f8fc;
    --qw-card: #ffffff;
    --qw-danger: #d9534f;
    color: var(--qw-ink);
    max-width: 980px;
    margin: 0 auto;
}

.qw * {
    box-sizing: border-box;
}

.qw-head {
    margin-bottom: 28px;
}

.qw-stepper {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: flex;
    counter-reset: qwstep;
}

.qw-stepper-item {
    counter-increment: qwstep;
}

.qw-dot::before {
    content: counter(qwstep);
}

.qw-stepper-item {
    position: relative;
    flex: 1 1 0;
    text-align: center;
    cursor: pointer;
    padding-top: 4px;
    min-width: 0;
}

.qw-stepper-item::before {
    content: "";
    position: absolute;
    top: 21px;
    left: -50%;
    width: 100%;
    height: 3px;
    background: var(--qw-line);
    z-index: 0;
}

.qw-stepper-item:first-child::before {
    display: none;
}

.qw-stepper-item.is-done::before {
    background: var(--qw-gold);
}

.qw-dot {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--qw-line);
    color: var(--qw-muted);
    font-weight: 700;
    font-size: 16px;
    transition: all .25s ease;
}

.qw-label {
    display: block;
    margin-top: 8px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--qw-muted);
    transition: color .25s ease;
}

.qw-stepper-item.is-active .qw-dot {
    border-color: var(--qw-navy);
    color: var(--qw-navy);
    box-shadow: 0 0 0 5px rgba(12, 39, 71, .1);
}

.qw-stepper-item.is-active .qw-label {
    color: var(--qw-navy);
}

.qw-stepper-item.is-done .qw-dot {
    background: var(--qw-gold);
    border-color: var(--qw-gold);
    color: #fff;
}

.qw-stepper-item.is-done .qw-label {
    color: var(--qw-ink);
}

.qw-progress {
    height: 6px;
    border-radius: 99px;
    background: var(--qw-line);
    overflow: hidden;
}

.qw-progress-bar {
    height: 100%;
    width: 0;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--qw-navy), var(--qw-gold));
    transition: width .35s ease;
}

.qw-step-counter {
    margin-top: 10px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--qw-muted);
    text-align: right;
}

.qw-step {
    display: none;
    animation: qw-fade .35s ease;
}

.qw-step.is-active {
    display: block;
}

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

.qw-step-head {
    margin-bottom: 18px;
}

.qw-kicker {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--qw-gold-dark);
    margin-bottom: 6px;
}

.qw-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--qw-navy);
    margin: 0 0 4px;
    line-height: 1.2;
}

.qw-desc {
    margin: 0;
    color: var(--qw-muted);
    font-size: 15px;
}

.qw-card {
    background: var(--qw-card);
    border: 1px solid var(--qw-line);
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 12px 32px -22px rgba(12, 39, 71, .45);
}

.qw .block-title.alt {
    font-size: 15px;
    font-weight: 700;
    color: var(--qw-navy);
    letter-spacing: .01em;
    margin-top: 18px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--qw-line);
}

.qw .block-title.alt:first-child {
    margin-top: 0;
}

.qw .block-title.alt a {
    font-size: 13px;
    font-weight: 600;
    color: var(--qw-gold-dark);
}

.qw .form-control {
    border-radius: 9px;
    border: 1px solid var(--qw-line);
    padding: 10px 13px;
    height: auto;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.qw .form-control:focus {
    border-color: var(--qw-navy);
    box-shadow: 0 0 0 3px rgba(12, 39, 71, .12);
}

.qw .form-control.is-invalid {
    border-color: var(--qw-danger);
    box-shadow: 0 0 0 3px rgba(217, 83, 79, .12);
}

.qw select.form-control {
    min-height: 48px;
    line-height: 1.5;
    padding-top: 10px;
    padding-bottom: 10px;
    background-position: right 13px center;
}

.qw select.form-control:not([multiple]) {
    height: auto;
}

.qw .select2-container .select2-selection--single {
    min-height: 48px;
    border: 1px solid var(--qw-line);
    border-radius: 9px;
    display: flex;
    align-items: center;
}

.qw .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.5;
    padding: 8px 28px 8px 13px;
    white-space: normal;
    word-break: break-word;
}

.qw .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    top: 0;
    right: 6px;
}

.qw .select2-container .select2-selection--multiple {
    min-height: 48px;
    border: 1px solid var(--qw-line);
    border-radius: 9px;
}

.select2-container--default .select2-results__option {
    line-height: 1.5;
    white-space: normal;
    word-break: break-word;
    padding: 9px 13px;
}

.select2-dropdown {
    border-color: var(--qw-line, #e3e9f1);
}

.qw label,
.qw b {
    color: var(--qw-ink);
}

.qw .ckitemadicional {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--qw-gold-dark);
    cursor: pointer;
}

.qw .qw-note {
    margin-top: 8px;
    font-weight: 600;
    font-size: 13px;
    color: var(--qw-gold-dark);
}

.qw-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
}

.qw-nav-spacer {
    flex: 1 1 auto;
}

.qw .btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 12px 26px;
    border: 2px solid transparent;
    transition: all .2s ease;
}

.qw .qw-back {
    background: #fff;
    color: var(--qw-navy);
    border-color: var(--qw-line);
}

.qw .qw-back:hover {
    border-color: var(--qw-navy);
}

.qw .qw-next {
    background: var(--qw-navy);
    color: #fff;
}

.qw .qw-next:hover {
    background: var(--qw-navy-soft);
}

.qw .qw-submit {
    background: var(--qw-gold);
    color: #fff;
    box-shadow: 0 10px 24px -12px rgba(224, 164, 59, .9);
}

.qw .qw-submit:hover {
    background: var(--qw-gold-dark);
    color: #fff;
}

.qw .qw-nav .qw-submit {
    display: none;
}

.qw.is-last .qw-nav .qw-next {
    display: none;
}

.qw.is-account .qw-nav {
    display: none;
}

.qw.is-last .qw-nav .qw-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.qw.is-first .qw-back {
    visibility: hidden;
}

#mapagoogle {
    cursor: pointer;
}

@media (max-width: 600px) {
    .qw-label {
        display: none;
    }

    .qw-stepper-item.is-active .qw-label {
        display: block;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
    }

    .qw-stepper {
        margin-bottom: 30px;
    }

    .qw-dot {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .qw-stepper-item::before {
        top: 18px;
    }

    .qw-title {
        font-size: 21px;
    }

    .qw-card {
        padding: 18px;
    }

    .qw-nav {
        flex-wrap: wrap;
    }

    .qw .btn {
        flex: 1 1 auto;
        text-align: center;
        justify-content: center;
    }
}

.qw-auth-note {
    background: #fff6e6;
    border: 1px solid #f0d9a8;
    color: #8a6212;
    border-radius: 10px;
    padding: 11px 15px;
    font-weight: 600;
    margin-bottom: 18px;
}

.qw-auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.qw-auth-tab {
    flex: 1 1 0;
    background: #fff;
    border: 2px solid var(--qw-line);
    border-radius: 10px;
    padding: 11px 10px;
    font-weight: 700;
    color: var(--qw-muted);
    cursor: pointer;
    transition: all .2s ease;
}

.qw-auth-tab:hover {
    border-color: var(--qw-navy);
    color: var(--qw-navy);
}

.qw-auth-tab.is-active {
    border-color: var(--qw-navy);
    color: var(--qw-navy);
    background: #f3f7fc;
    box-shadow: inset 0 -3px 0 var(--qw-gold);
}

.qw-auth-pane[hidden] {
    display: none;
}

.qw-auth-msg {
    display: none;
    border-radius: 10px;
    padding: 11px 15px;
    margin-bottom: 14px;
    font-weight: 600;
}

.qw-auth-msg.is-error {
    display: block;
    background: #fdecea;
    color: #b0322c;
    border: 1px solid #f3c0bc;
}

.qw-auth-msg.is-success {
    display: block;
    background: #eafaf0;
    color: #1d7a45;
    border: 1px solid #bce8cd;
}

.qw-auth-actions {
    margin-top: 20px;
}

.qw .qw-do-login,
.qw .qw-do-register {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.qw .qw-do-login[disabled],
.qw .qw-do-register[disabled] {
    opacity: .6;
    cursor: default;
}

.qw-terms label {
    font-weight: 600;
    color: var(--qw-ink);
    cursor: pointer;
    margin: 0;
}

.qw-terms input {
    margin-right: 8px;
    accent-color: var(--qw-gold-dark);
}

.qw-rev-block {
    margin-bottom: 20px;
}

.qw-rev-block:last-child {
    margin-bottom: 0;
}

.qw-rev-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--qw-gold-dark);
    margin: 0 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--qw-line);
}

.qw-rev-row {
    display: flex;
    gap: 14px;
    padding: 6px 0;
    font-size: 14.5px;
}

.qw-rev-k {
    flex: 0 0 180px;
    color: var(--qw-muted);
    font-weight: 600;
}

.qw-rev-v {
    flex: 1 1 auto;
    color: var(--qw-ink);
    font-weight: 600;
    word-break: break-word;
}

@media (max-width: 600px) {
    .qw-rev-row {
        flex-direction: column;
        gap: 2px;
    }

    .qw-rev-k {
        flex: none;
    }
}

.qw .qw-addr-btn {
    background: #f3f7fc;
    border: 1px solid var(--qw-line);
    color: var(--qw-navy);
    font-weight: 600;
    border-radius: 8px;
    padding: 7px 14px;
}

.qw .qw-addr-btn:hover {
    border-color: var(--qw-navy);
    background: #e9f0f9;
}

#qwAddrModal .modal-content,
#qwRegModal .modal-content {
    border: none;
    border-radius: 14px;
    overflow: hidden;
}

#qwAddrModal .modal-header,
#qwRegModal .modal-header {
    background: var(--qw-navy);
    color: #fff;
}

#qwAddrModal .modal-header .close,
#qwRegModal .modal-header .close {
    color: #fff;
    opacity: .9;
    text-shadow: none;
}

.qw-addr-hint {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #748598;
}

.qw-addr-map {
    width: 100%;
    height: 340px;
    border-radius: 10px;
    background: #eef2f7;
}

.qw-addr-preview {
    margin-top: 14px;
}

.qw-addr-found {
    background: #eafaf0;
    border: 1px solid #bce8cd;
    color: #1d7a45;
    border-radius: 10px;
    padding: 11px 15px;
    font-weight: 600;
}

.qw-addr-warn {
    background: #fff6e6;
    border: 1px solid #f0d9a8;
    color: #8a6212;
    border-radius: 10px;
    padding: 11px 15px;
    font-weight: 600;
}

.qw-reg-frame {
    width: 100%;
    height: 78vh;
    border: 0;
    display: block;
}

.qw .form-group {
    margin-bottom: 14px;
}

.qw .select2-container {
    margin: 0 !important;
    vertical-align: middle;
}

.qw .select2-container--default .select2-selection--single {
    height: 48px;
}

#qwAddrModal .btn,
#qwRegModal .btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 10px 22px;
    border: 2px solid transparent;
}

#qwAddrApply {
    background: #e0a43b;
    color: #fff;
}

#qwAddrApply:hover {
    background: #c3851f;
    color: #fff;
}

#qwAddrApply[disabled] {
    opacity: .6;
    cursor: default;
}

#qwAddrModal .qw-back {
    background: #fff;
    border-color: #e3e9f1;
    color: #0c2747;
}
