﻿:root {
    --ng-color-aqua05: #00f0c5;
    --ink: #0d1117;
    --green: var(--ng-color-aqua05);
    --green-hover: color-mix(in srgb, var(--ng-color-aqua05) 85%, #000);
    --border: #d7dbe0;
    --muted: #6b7280;
    --required: #ef4444;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

body {
    background: #ffffff;
    color: var(--ink);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.quote-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px 0;
}

.quote-title {
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.5px;
    font-size: 2.4rem;
}

.quote-sub {
    text-align: center;
    color: #374151;
    margin-bottom: 40px;
}

/* ---- Stepper ---- */
.stepper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 700px;
    margin: 0 auto 56px;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    width: 80px;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    background: #fff;
    border: 2px solid var(--border);
    color: var(--muted);
    transition: all 0.2s ease;
}

.step.active .step-circle,
.step.done .step-circle {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.step.active .step-circle {
    box-shadow: 0 0 0 4px rgba(87, 227, 164, 0.45);
}

.step.done .step-circle {
    color: var(--green);
}

.step-label {
    margin-top: 10px;
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.2;
    color: var(--ink);
}

.step-line {
    flex: 1 1 auto;
    height: 2px;
    background: var(--border);
    margin-top: 22px;
}

/* ---- Panels ---- */
#quote-form .panel {
    display: none;
}

#quote-form .panel.active {
    display: block;
    animation: fade 0.25s ease;
}

#quote-form .field-label {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 8px;
}

#quote-form .req {
    color: var(--required);
    margin-left: 2px;
}

#quote-form .form-control, #quote-form .form-select {
    border-radius: 10px;
    border-color: var(--border);
    padding: 12px 14px;
    font-size: 1rem;
}

#quote-form .form-control:focus, #quote-form .form-select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(87,227,164,0.35);
}

/* ---- Product option cards ---- */
#quote-form .option-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    height: 100%;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#quote-form .option-card:hover {
    border-color: #9aa3ad;
}

/* ---- Custom checkbox ---- */
#quote-form .option-card .form-check-input {
    margin: 0;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    display: none;
    appearance: none;
    -webkit-appearance: none;
}

#quote-form .option-card .form-check-input ~ .fal {
    font-size: var(--ng-size-24px);
}

#quote-form .option-card .checked {
    display: none;
}

#quote-form .option-card .form-check-input:checked ~ .checked {
    display: inline-block;
}

#quote-form .option-card .form-check-input:checked ~ .unchecked {
    display: none;
}

/*#quote-form .option-card .form-check-input:focus-visible {
    outline: 2px solid #0076ff;
    outline-offset: 2px;
}

#quote-form .option-card .form-check-input::before {
    content: "";
    transform: scale(0);
    transition: 120ms transform ease-in-out;*/
    /* Color of your custom icon */
    /*background-color: #0076ff;*/
    /* Your custom icon graphic (Using a standard SVG Checkmark here) */
    /*clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}*/
/* End custom checkbox */

#quote-form .option-card.selected {
    border-color: var(--ng-color-aqua06);
    border-width: 2px;
}

#quote-form .option-label {
    font-size: 1.02rem;
}

/* ---- Buttons ---- */
#quote-form .btn-pill {
    border-radius: 999px;
    padding: 12px 30px;
    font-weight: 600;
    border: none;
}

#quote-form .btn-green {
    background: var(--green);
    color: var(--ink);
}

#quote-form .btn-green:hover {
    background: var(--green-hover);
    color: var(--ink);
}

#quote-form .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 36px;
}

#quote-form .invalid-msg {
    color: var(--required);
    font-size: 0.85rem;
    margin-top: 6px;
    display: none;
}

#quote-form .cond-group {
    display: none;
}

#quote-form .cond-group.show {
    display: block;
    animation: fade 0.25s ease;
}

#quote-form .success-box {
    text-align: center;
    padding: 40px 20px;
}

#quote-form .success-box .check {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--green);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 18px;
}

#quote-form .mobile-select-host {
    position: relative;
}

#quote-form .mobile-select-trigger {
    display: none;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    background: #fff;
    cursor: pointer;
}

#quote-form .mobile-select-trigger .chevron {
    color: var(--muted);
    font-size: 0.9rem;
}

body.mobile-select-mode #quote-form .mobile-select-host .form-select {
    display: none;
}

body.mobile-select-mode #quote-form .mobile-select-host .mobile-select-trigger {
    display: flex;
}

.BeforeForm a, #quote-form #privacypolicy a {
    font-weight: normal;
    font-family: var(--ng-font-sans-semibold);
}

#quote-form textarea, #quote-form input:not([type="submit"]), #quote-form select {
    height: unset;
}

#mobileSelectOptions .list-group-item.active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.existing-client-message {
    text-align: center;
    font-family: var(--ng-font-sans-semibold);
    font-size: var(--ng-size-21px);
    margin-bottom: var(--ng-size-32px);
}

#quote-form-modal button.btn-close {
    position: absolute;
    right: 17px;
}

@media (min-width: 992px) {
    #quote-form .btn + .btn {
        margin-top: 4px;
    }
}