﻿.bb-wizard-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0 25px 0;
    width: 100%;
    margin: 0 auto;
}

.bb-wizard-container.bb-primary-title {
    margin-bottom: 12px;
    text-align: center;
}

.bb-wizard-container .bb-secondary-title {
    margin-bottom: 14px;
    text-align: center;
}

.bb-looking-gif {
    width: clamp(80px, 8vw, 140px);
}

.bb-wizard-number-container {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}

.bb-wizard-number {
    width: clamp(30px, 3vw, 45px);
    height: clamp(30px, 3vw, 45px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: var(--bold-font-weight);
    font-size: clamp(20px, 2.5vw, 30px);
    border-radius: 22px;
}

.bb-wizard-number.done {
    background: var(--fuschia);
}
.bb-wizard-number.active {
    background: var(--dark-blue);
}
.bb-wizard-number.inactive {
    background: var(--soft-grey);
    color: black;
}

.bb-wizard-line {
    height: 2px;
    background: var(--soft-grey);
    width: clamp(80px, 8vw, 160px);
}

.bb-wizard-info {
    margin: 25px 0 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: clamp(140px, 38vh, 380px);
}

.bb-wizard-title,
.bb-wizard-goal {
    color: var(--dark-blue);
    font-weight: var(--bold-font-weight);
    font-size: clamp(16px, 1.3vw, 24px);
}

.bb-wizard-title {
    margin-bottom: 24px;
}

.bb-wizard-category-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.bb-wizard-category {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 12px 14px 12px 14px;
    border: 1px solid #55555599;
    border-radius: 15px;
    font-size: clamp(16px, 1vw, 20px);
    font-weight: var(--bold-font-weight);
    transition: background 0.25s ease-in-out, color 0.25s ease-in-out;
}

.bb-wizard-category.active {
    color: white;
    background: var(--fuschia);
}

.bb-wizard-category-icon {
    width: 28px;
    pointer-events: none;
}

.bb-wizard-category span {
    pointer-events: none;
}

.bb-wizard-link-btn {
    cursor: pointer;
    color: var(--light-blue);
    margin: 22px 0 0 0;
    font-size: clamp(14px, 1vw, 18px);
    font-weight: var(--bold-font-weight);
    text-decoration: underline;
    text-underline-offset: 1.5px;
    text-decoration-skip-ink: none;
}

.bb-selected-more-categories-btn span {
    color: var(--fuschia);
    text-decoration: underline;
    text-underline-offset: 1.5px;
    text-decoration-skip-ink: none; 
}

.bb-wizard-goals-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.bb-wizard-goal {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
    width: clamp(160px, 12vw, 240px);
    height: clamp(160px, 12vw, 240px);
    border: 1px solid #C1C1C180;
    border-radius: 50px;
    box-shadow: 0px 4px 4px 0px rgba(168, 168, 168, 0.25);
    transition: background 0.25s ease-in-out, color 0.25s ease-in-out;
}

.bb-wizard-shadow-box-on-press:active {
    /*box-shadow: 0px 3.66px 3.66px 0px #A8A8A840 inset;*/
}

.bb-wizard-occasion {
    width: clamp(120px, 8vw, 145px);
    height: clamp(120px, 8vw, 145px);
    border-radius: 20px;
}

.bb-wizard-goal img {
    width: clamp(80px, 6vw, 120px);
    height: clamp(80px, 6vw, 120px);
    pointer-events: none;
    object-fit: contain;
}

.bb-wizard-occasion img {
    width: clamp(70px, 5vw, 90px);
    height: clamp(70px, 5vw, 90px);
}

.bb-wizard-goal span {
    text-align: center;
    width: 60%;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bb-wizard-occasion span {
    width: unset;
    font-size: 18px;
}

.bb-wizard-goal.active {
    color: white;
    background: var(--fuschia);
}

.bb-wizard-level {
    width: 100%;
}

.bb-level-slider-container {
    width: 75%;
    margin: clamp(35px, 6vh, 120px) 0;
}

/*  Slider */

/* Slider Wrapper */
.slider-wrapper {
    position: relative;
    width: 100%;
}

/* Slider */
.bb-level-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 12px;
    border-radius: 50px;
    background: #D9D9D9;
    cursor: pointer;
    outline: none;
    position: relative;
    z-index: 1;
}

.bb-level-slider::-webkit-slider-thumb,
.bb-level-slider::-moz-range-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: clamp(30px, 2vw, 42px);
    height: clamp(30px, 2vw, 42px);
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    opacity: 0 !important;
}

.bb-level-slider::-webkit-slider-thumb:active,
.bb-level-slider::-moz-range-thumb:active {
    background: transparent !important;
    box-shadow: none !important;
}

.bb-level-slider::-webkit-slider-thumb {
  outline: none !important;
  opacity: 0;
}


/* Custom Thumb */
.custom-thumb {
    position: absolute;
    width: clamp(30px, 2vw, 42px);
    height: clamp(30px, 2vw, 42px);
    border-radius: 20px;
    background: var(--fuschia);
    top: 50%;
    transform: translateY(-50%);
    transition: left 0.4s ease-in-out, right 0.4s ease-in-out;
    pointer-events: none;
    z-index: 2;
}

/* Filled Track */
.filled-track {
    position: absolute;
    height: 12px;
    border-radius: 50px;
    background: var(--fuschia);
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 0;
    transition: width 0.4s ease-in-out;
    pointer-events: none;
}

.bb-slider-levels-container {
    position: absolute;
    top: calc(100% + 25px);
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    font-size: clamp(14px, 1vw, 20px);
    font-weight: var(--bold-font-weight);
    color: var(--dark-blue);
}

.bb-slider-level {
    transition: color 0.3s ease-in-out;
}

.bb-slider-level.active {
    color: var(--fuschia);
}

.bb-slider-level.novice {
    margin-left: -10px;
}

.bb-slider-level.expert {
    margin-right: -10px;
}

.bb-slider-level-stars-container {
    position: absolute;
    display: flex;
    bottom: calc(100% + 25px);
    left: 5px;
    transition: left 0.4s ease-in-out, right 0.4s ease-in-out;
}

/* Custom selector */

.bb-custom-selector-container {
    margin-top: 30px;
    background: var(--theme-gradient);
    border-radius: 18px;
    padding: 3px;
}

.bb-custom-selector-selected-option,
.bb-custom-selector-options-list li span {
    font-weight: var(--bold-font-weight);
    font-size: clamp(16px, 2.2vw, 22px);
}

.bb-custom-selector-selected-option.placeholder-option {
    font-size: clamp(14px, 1vw, 18px);
    color: #CBCBCB;
    font-weight: 500;
}

.bb-custom-selector {
    position: relative;
    width: 320px;
    flex-grow: 1;
    cursor: pointer;
    padding: 15px;
    background-color: white;
    border: none;
    border-radius: 15px;
    height: 55px;
    display: flex;
    align-items: center;
}

.bb-custom-selector-selected-option {
    display: inline-block;
    color: black;
    max-height: 100%;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bb-custom-selector-options-list-container {
    display: none;
    position: absolute;
    top: 120%;
    left: 0;
    width: 100%;
    background: var(--theme-gradient);
    border-radius: 10px;
    padding: 3px;
    z-index: 3;
}

.bb-custom-selector-options-list {
    width: 100%;
    padding: 0;
    margin: 0;
    background-color: white;
    list-style: none;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    z-index: 3;
    padding-bottom: 10px;
}

.custom-scroll::-webkit-scrollbar {
    width: 40px;
}

.custom-scroll::-webkit-scrollbar-thumb {
    border: 16px solid rgba(0, 0, 0, 0);
    background-clip: padding-box;
    -webkit-background-clip: padding-box;
    -webkit-border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.15);
}

.bb-custom-selector-options-list li span {
    cursor: pointer;
    background: white;
    color: #252729;
    padding: 17px;
    padding-left: 30px;
    display: block;
    width: 95%;
    margin-left: 2px;
    margin-top: 4px;
    border-radius: 10px;
}

.bb-custom-selector-arrow {
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-70%) rotate(45deg);
    width: 20px;
    height: 20px;
    border-width: 0 3px 3px 0;
    border-style: solid;
    border-color: skyblue;
    transition: transform 0.3s ease;
}

.bb-custom-selector-arrow-rotate {
    transform: translateY(-20%) rotate(225deg);

}

.bb-more-categories-dropdown {
    position: absolute;
    bottom: 20%;
    background: white;
    border-radius: 10px;
    padding: 20px 5px 8px 20px;
    box-shadow: 0px 4px 4px 0px rgba(168, 168, 168, 0.25);
    min-width: 360px;
    font-size: clamp(14px, 1vw, 20px);
    z-index: 2;
    max-width: 220px;
}

.bb-more-categories-dropdown img {
    width: clamp(24px, 2vw, 40px);
    height: clamp(24px, 2vw, 40px);
    cursor: pointer;
}

.bb-more-categories-dropdown span {
    pointer-events: none;
}

.bb-more-categories-dropdown ul {
    overflow: auto;
    max-height: 200px;
}

.bb-more-categories-dropdown li {
    padding: 0 16px 22px 0;
    cursor: pointer;
}

.bb-more-categories-dropdown div {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.bb-wizard-song-other-btn {
    text-decoration: unset;
    font-size: 25px;
}

.bb-genre-tab{
    /*margin-bottom: 30px !important;*/
}

.bb-wizard-music-mood{
    gap: 15px !important;
}

.bb-music-input {
    width: 100%;
    padding: 3px;
    border: unset;
    margin: unset;
}

.bb-wizard-input {
    width: 100%;
    padding: 3px;
    border: unset;
    margin: unset;
}

.song-generation-text-area{
    width: 70% !important;
}

.bb-more-categories-dropdown input {
    border: none;
    outline: none;
    padding: 14px 6px 14px 6px;
    border-radius: 10px;
    box-shadow: 0px 4px 4px 0px rgba(168, 168, 168, 0.25);
    width: 100%;
}
.bb-more-categories-dropdown input:focus {
    border: none;
}

.bb-more-categories-dropdown input::placeholder {
    font-size: clamp(13px, 0.8vw, 16px);
}

.bb-custom-input {
    position: relative;
    width: 320px;
    flex-grow: 1;
    display: inline-block;
    padding: 12px;
    background-color: white;
    border: none;
    border-radius: 15px;
}

@media (max-width: 1600px) {
    .bb-wizard-info {
        min-height: unset;
    }
    .bb-wizard-nav-buttons {
        margin: 20px 0 60px 0;
    }
}

@media (min-width:850px) and (max-width:1500px) {
    .hide-element {
        display: none;
    }
}

@media screen and (max-width: 800px) {
    .bb-wizard-info{
        min-height: unset;
    }

    .bb-wizard-container {
        justify-content: flex-start;
        padding: 0 7px 30px 7px;
    }

    .bb-wizard-number-container {
        gap: 1px;
    }

    .bb-level-slider-container {
        width: 80%;
        justify-content: center;
        align-items: center;
        display: flex;
    }

    .bb-level-slider, .filled-track {
        height: 8px;
    }

    .bb-level-stars-image{
        width: 18px;
        height: 18px;
    }

    .bb-wizard-nav-buttons {
        /*width: 100%;*/
        padding-bottom: 40px;
    }

    .bb-wizard-line {
        width: clamp(70px, 8vw, 160px);
    }

    .bb-wizard-category-container {
        gap: 10px;
        /*overflow: scroll;*/
        padding: 5px;

    }

    .bb-wizard-goals-container {
        flex-wrap: wrap;
        width: 100%;
        gap: 15px;
        justify-content: center;
    }

    .custom-thumb {
        width: clamp(20px, 2vw, 42px);
        height: clamp(20px, 2vw, 42px);
    }

    .bb-wizard-title,
    .bb-wizard-goal {
        text-align: center;
    }

    .bb-more-categories-dropdown {
        min-width: 320px;
    }

    .slider-wrapper {
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    .bb-custom-selector {
        width: 260px;
        padding: 13px;
        height: 45px;
    }
    .bb-wizard-info {
        margin: 25px 0 12px 0;
    }
    .bb-custom-selector-container {
        margin-top: 0;
    }
    .bb-wizard-level {
        margin-bottom: 25px;
    }
    .bb-wizard-title {
        margin-bottom: 16px;
    }
    .bb-wizard-goal {
        gap: 4px;
        border-radius: 36px;
    }
    .bb-wizard-occasion {
        border-radius: 20px;
    }
    .bb-who-is-greeting-container {
        margin: 25px 0 25px 0;
    }
    .bb-wizard-container {
        min-height: 80vh;
    }
    .bb-wizard-nav-buttons {
        margin-top: auto;
    }
    .bb-wizard-line {
        width: clamp(50px, 8vw, 120px);
    }
}

@media screen and (max-width: 450px) {
    .bb-song-line {
        width: 50px;
    }
    .bb-custom-input {
        width: 280px;
        padding: 10px;
    }
}

@media screen and (max-width: 380px) {
    .bb-wizard-line {
        width: clamp(30px, 8vw, 60px);
    }
    .bb-song-line {
        width: 45px;
    }
    .bb-custom-input {
        width: 240px;
    }
}

@media screen and (max-width: 350px) {
    .bb-song-line {
        width: 30px;
    }
}

@media screen and (max-width: 320px){
    .bb-more-categories-dropdown {
        min-width: unset;
    }
    .bb-song-line {
        width: 30px;
    }
}
