/* label-quote.css - styles for Label Quote multi-step form and progress bar */

#label-quote-form {
    max-width: 1200px;
    margin: 20px auto;
    background: #fff;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 240ms ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* Tiles and buttons */
.lq-tiles {
    /*display: flex;
    gap: 12px;*/
}

.lq-tiles .lq-option {
    flex: 1;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 12px;
    cursor: pointer;
}

.lq-tiles .lq-option img {
    width: 100%;
    display: block;
}
.lq-option span {
    display: block;
    padding: 20px;
    font-size: 20px;
    font-weight: 500;
    background: #F5FFF8;
    border: 1px solid #42CA46;
    border-radius: 12px;
    margin-top: -10px;
    z-index: 99999;
    position: relative;
}
.lq-option.selected {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    border-color: #00b050;
    background: #f6fff4;
    transform: translateY(-3px);
}

/*.lq-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}*/
.addon_btn button.lq-btn {
    width: 19.5%;
    margin: 5px 0px;
}
.lq-btn {
    padding: 20px;
    border: 1px solid #42CA46;
    border-radius: 12px;
    cursor: pointer;
    background: #F5FFF8;
    width: 100%;
    font-size: 20px;
    font-weight: 500;
}

.lq-btn.selected {
    background: #e9fdf0;
    border-color: #00b050;
}

#lq-range {
    width: 100%;
}

#lq-range-label {
    margin-top: 6px;
    font-weight: 600;
}

.lq-region-preview {
    margin-top: 12px;
}
input#lq-postcode, .personal_info input {
    padding: 20px 15px;
    border-radius: 5px;
    margin-bottom: 25px;
    background: #F5FFF8;
    color: #00290F;
    border: 1px solid #42CA46;
    width: 100%;
}
/*.lq-region-preview img {
    max-width: 260px;
    border: 1px solid #ddd;
    border-radius: 8px;
}*/

/* Navigation (centered) */
.lq-nav {
    margin-top: 16px;
    text-align: center;
}

.lq-nav button {
    padding: 20px;
    margin: 6px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    width: 220px;
}

.lq-nav .primary {
    background: #42CA46;
    color: #fff;
    border-color: #42CA46;
}
.lq-nav {
    margin-top: 50px !important;
}
/* Progress bar (matching your image) */
#lq-range::-webkit-slider-runnable-track {
    background: #42CA46;;
    height: 6px;
    border-radius: 3px;
  }

  /* Slider thumb (the circle) */
  #lq-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 18px;
    width: 18px;
    background: rgba(66, 202, 70, 0.5);
    border-radius: 50%;
    cursor: pointer;
    margin-top: -6px; /* center thumb on track */
  }

  /* Firefox support */
  #lq-range::-moz-range-track {
    background: #42CA46;;
    height: 6px;
    border-radius: 3px;
  }

  #lq-range::-moz-range-thumb {
    height: 18px;
    width: 18px;
    background: #42CA46;
    border-radius: 50%;
    cursor: pointer;
  }

.lq-progress-wrap {
    margin-bottom: 100px;
}
.range_label {
    width: 100%;
}
.label_block {
    float: left;
    font-size: 20px;
    font-weight: 500;
    /*text-align: center;*/
}
.lq-progress-bar {
    position: relative;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0 0.5rem;
    padding: 0 8px;
}

.lq-progress-bar::before {
    content: '';
    position: absolute;
    left: 42px;
    right: 42px;
    top: 22px;
    height: 10px;
    background: #eaf6ea;
    border-radius: 10px;
    z-index: 1;
}

.lq-progress {
    position: absolute;
    left: 42px;
    top: 22px;
    height: 10px;
    width: 0%;
    background: #42CA46;
    border-radius: 10px;
    z-index: 2;
    transition: width .35s ease;
}

/* Steps */
.lq-progress-bar .lq-step {
    position: relative;
    z-index: 3;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #dfe;
    background: #ffffff;
}

.lq-progress-bar .lq-step span {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    line-height: 60px;
    text-align: center;
    background: #fff;
    color: #00b050;
    font-weight: 700;
    font-size: 28px;
}

.lq-progress-bar .lq-step.active span,
.lq-progress-bar .lq-step.completed span {
    background: #42CA46;
    color: #fff;
    border-color: #42CA46;
    /*box-shadow: 0 6px 12px rgba(0, 176, 80, 0.22);*/
}
.lq-step.completed{
    background: #42CA46;
}

/* small screens */
@media (max-width:720px) {
    .lq-tiles {
        flex-direction: column;
    }

    .lq-progress-bar {
        padding: 0 6px;
    }

    .lq-progress-bar .lq-step {
        width: 36px;
        height: 36px;
    }

    .lq-progress-bar::before {
        left: 30px;
        right: 30px;
        top: 18px;
        height: 8px;
    }

    .lq-progress {
        left: 30px;
        top: 18px;
        height: 8px;
    }
}

