#selling-wizard-app {

    max-width: 900px;

    margin: 40px auto;

    background: #ffffff;

    border-radius: 16px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);

    padding: 20px 40px 40px 40px;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    display: flex;

    flex-direction: column;

}



.wizard-header {

    text-align: center;

    margin-bottom: 30px;

}



.status-bar-container {

    height: 8px;

    background-color: #e9ecef;

    border-radius: 4px;

    margin-bottom: 20px;

    overflow: hidden;

}



.status-bar-progress {

    height: 100%;

    width: 0;

    background-color: #007bff;

    border-radius: 4px;

    transition: width 0.4s ease-in-out;

}



.wizard-heading {

    font-size: 28px;

    color: #212529;

    margin: 10px 0 5px;

}



.wizard-subheading {

    font-size: 16px;

    color: #6c757d;

    margin: 0;

}



#wizard-form-container {

    min-height: 400px;

    position: relative;

    display: flex;

    justify-content: center;

    align-items: center;

}



.wizard-navigation {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid #E0E0E0;
    margin-top: 40px;
}



#backButton, #nextButton {

    padding: 12px 30px;

    font-size: 16px;

    font-weight: 600;

    border: none;

    border-radius: 8px;

    cursor: pointer;

    transition: all 0.2s ease-in-out;

}



#backButton {
    background-color: transparent;
    color: #757575;
    border: 1px solid #E0E0E0;
}
#backButton:hover {
    background-color: #F5F5F5;
}



#nextButton {
    background-color: #00E676;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 40px;
    border-radius: 100px;
}
#nextButton:hover {
    background-color: #00C853;
}
#nextButton:disabled {
    background-color: #E0E0E0;
    color: #9E9E9E;
    cursor: not-allowed;
}

.step-6-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.battery-image-container {
    flex-basis: 40%;
}

.battery-icon {
    width: 150px;
    height: 250px;
    border: 5px solid #000;
    border-radius: 20px;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

.battery-icon::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 10px;
    background-color: #000;
    border-radius: 5px;
}

.battery-level {
    position: absolute;
    bottom: 4px;
    left: 4px;
    right: 4px;
    background-color: #00E676;
    border-radius: 10px;
    transition: height 0.3s ease;
}

.slider-wrapper {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    height: 300px;
    justify-content: flex-start;
    margin-left: 40px;
}

.range-slider-container {
    position: relative;
    width: 4px;
    height: 200px;
    background-color: #e0e0e0;
    border-radius: 2px;
}

.range-slider-track {
    position: absolute;
    width: 100%;
    height: 100%;
}

.range-slider-thumb {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: #00E676;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 2;
    transition: transform 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}



.range-slider-thumb:hover {
    transform: translateX(-50%) scale(1.1);
}

.range-slider-value {
    font-size: 14px;
    font-weight: bold;
    color: white;
}

.range-slider-active-track {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    background-color: #00E676;
    border-radius: 2px;
    z-index: 1;
}

.range-slider-labels {
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    height: 200px;
    font-size: 14px;
    color: #666;
    margin-right: 15px;
}

.range-slider-labels span {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.range-slider-labels span::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 1px;
    background-color: #ccc;
    margin-left: 5px;
}



.brandSelectContainer, #productsContainer {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));

    gap: 20px;

    list-style: none;

    padding: 0;

    width: 100%;

}



.brandSelectContainer li, #productsContainer li {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}



.brandSelectContainer li:hover, #productsContainer li:hover {

    transform: translateY(-5px);

    box-shadow: 0 5px 15px rgba(0,0,0,0.08);

}



.brandSelectContainer li.selected, #productsContainer li.selected {

    border-color: #007bff;

    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);

    background-color: #f0f8ff;

}



.brandSelectContainer img, #productsContainer img {

    max-width: 100px;

    height: auto;

    margin-bottom: 10px;

}

#productsContainer img {

    height: 120px;

    width: auto;

    object-fit: contain;

}



#productsContainer h2 {

    font-size: 14px;

    margin: 0;

    color: #495057;

}



.search-wrapper {

    width: 100%;

    margin-bottom: 20px;

}

#searchInput {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid #ced4da;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

#searchInput:focus {
    outline: none;
    border-color: #00E676;
    box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.1);
}





#productDetailsContainer {

    display: flex;

    width: 100%;

    gap: 40px;

    align-items: center;

    justify-content: center;

}

#productDetailsContainer > img {

    flex-basis: 40%;

    max-width: 300px;

    height: auto;

    border-radius: 12px;

}

.variationSelect, .questionContainer {

    flex-basis: 60%;

    display: flex;

    flex-direction: column;

    gap: 20px;

}

.question {
    font-size: 24px;
    font-weight: 500;
    color: #212121;
    margin-bottom: 10px;
}

.question-help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #E0E0E0;
    color: #757575;
    border-radius: 50%;
    text-decoration: none;
    font-size: 14px;
    margin-left: 8px;
}

.question-details {
    font-size: 14px;
    color: #757575;
    margin-bottom: 30px;
}

.colorList, .storageList, .networkList, .stareList {

    list-style: none;

    padding: 0;

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

}

.colorList li, .storageList li, .networkList li, .stareList li {

    padding: 10px 18px;

    border: 1px solid #dee2e6;

    border-radius: 20px;

    cursor: pointer;

    transition: all 0.2s ease;

}

.colorList li.selected, .storageList li.selected, .networkList li.selected, .stareList li.selected {

    background-color: #007bff;

    color: white;

    border-color: #007bff;

}



.attribute-description {
    background-color: #f8f9fa;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    color: #495057;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    opacity: 0;
    height: 0;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
}

.attribute-description.visible {
    opacity: 1;
    height: auto;
    min-height: 40px;
    padding: 10px;
    margin-top: 15px;
    border-color: #dee2e6;
}





#warning-popup {

    border: none;

    border-radius: 12px;

    box-shadow: 0 0 2em rgba(0,0,0,0.2);

    padding: 30px;

    text-align: center;

    min-width: 300px;

}

#warning-popup::backdrop {

    background: rgba(0,0,0,0.5);

    backdrop-filter: blur(5px);

}

#warning-title {

    font-size: 24px;

    font-weight: bold;

    color: #333;

    margin-top: 0;

    margin-bottom: 10px;

}

#warning-content {

    font-size: 16px;

    font-weight: 500;

    margin-bottom: 20px;

    color: #555;

}

.timer-bar-background {

    height: 5px;

    background-color: #e9ecef;

    border-radius: 5px;

    overflow: hidden;

}

#timer-bar-foreground {

    height: 100%;

    width: 0;

    background-color: #dc3545;

    transition: width 0.1s linear;

}





.loader.lds-ripple {

  display: inline-block;

  position: absolute;

  width: 80px;

  height: 80px;

}

.loader.lds-ripple div {

  position: absolute;

  border: 4px solid #007bff;

  opacity: 1;

  border-radius: 50%;

  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;

}

.loader.lds-ripple div:nth-child(2) {

  animation-delay: -0.5s;

}

@keyframes lds-ripple {

  0% { top: 36px; left: 36px; width: 0; height: 0; opacity: 0; }

  4.9% { top: 36px; left: 36px; width: 0; height: 0; opacity: 0; }

  5% { top: 36px; left: 36px; width: 0; height: 0; opacity: 1; }

  100% { top: 0px; left: 0px; width: 72px; height: 72px; opacity: 0; }

}



/* Step 6 - Battery Slider Styles */

.battery-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-top: 40px;
}

.battery-icon {
    position: relative;
    width: 120px;
    height: 220px;
    border: 4px solid #212529;
    border-radius: 20px;
    overflow: hidden;
}

.battery-icon::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 8px;
    background-color: #212529;
    border-radius: 4px 4px 0 0;
}

.battery-icon::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 6px;
    background: #00E676;
    border-radius: 3px 3px 0 0;
}



.battery-level {
    position: absolute;
    bottom: 4px;
    left: 4px;
    right: 4px;
    width: calc(100% - 8px);
    background-color: #00E676;
    border-radius: 12px;
    transition: height 0.2s ease-in-out, background-color 0.3s ease;
    box-sizing: border-box;
}

.battery-level[style*="height: 70%"],
.battery-level[style*="height: 75%"] {
    background-color: #FFA726;
}

.battery-level[style*="height: 100%"],
.battery-level[style*="height: 95%"],
.battery-level[style*="height: 90%"],
.battery-level[style*="height: 85%"],
.battery-level[style*="height: 80%"] {
    background-color: #00E676;
}

.battery-icon {
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-start;
    padding: 8px;
}

.battery-segment {
    width: 100%;
    height: 32px;
    background-color: #e0e0e0;
    margin-top: 8px;
    border-radius: 4px;
}

.battery-segment:first-child {
    margin-top: 0;
}



.step-6-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    height: 300px;
    justify-content: center;
    margin: 0 auto;
}

.range-slider-container {
    position: relative;
    height: 100%;
    width: 2px;
    background-color: #E0E0E0;
    border-radius: 1px;
}

.range-slider-labels {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    margin-left: 40px;
    color: #757575;
    font-size: 16px;
    padding: 10px 0;
    text-align: left;
}

.range-slider-thumb {
    position: absolute;
    width: 32px;
    height: 32px;
    background: #00E676;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.range-slider-thumb:hover {
    transform: scale(1.1);
}

.range-slider-value {
    font-size: 12px;
    color: white;
}



/* Step 7, 8, 9 - CSS Sprite Styles */

.sprite-image-container {

    flex-basis: 40%;

    max-width: 300px;

    height: 550px;

    background-size: auto 100%;

    background-repeat: no-repeat;

    transition: background-position 0.3s ease-in-out;

    border-radius: 12px;

    background-color: #f8f9fa;

}



/* Step 11 - Payment Options Styles */

.payment-options-container {

    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 20px;

}

.payment-option {

    border: 1px solid #dee2e6;

    border-radius: 12px;

    padding: 20px;

    cursor: pointer;

    transition: all 0.2s ease;

    display: flex;

    align-items: center;

    gap: 20px;

}

.payment-option.selected {

    border-color: #007bff;

    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);

}

.payment-option-details {

    flex-grow: 1;

}

.payment-option-details h4 {

    margin: 0 0 5px 0;

    font-size: 18px;

    color: #212529;

}

.payment-option-details p {

    margin: 0;

    font-size: 14px;

    color: #6c757d;

}

.price-tag {

    background-color: #ffc107;

    color: #212529;

    padding: 8px 15px;

    border-radius: 20px;

    font-weight: bold;

    white-space: nowrap;

}

.guarantee-list {

    list-style-type: '✓';

    padding-left: 25px;

    margin: 20px auto;

    max-width: 400px;

    color: #495057;

}

.guarantee-list li {

    padding-left: 10px;

    margin-bottom: 10px;

}

.disclaimer {

    font-size: 12px;

    color: #6c757d;

    text-align: center;

    margin-top: 20px;

}

