/* =================================================== */
/* --- FINAL, SPECIFIC 'GET LISTED' MODAL STYLES --- */
/* =================================================== */
 @media (max-width: 900px) {
    #get-listed-modal .get-listed-panel {
        flex-direction: column-reverse; 
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
    }

    #get-listed-modal .get-listed-panel__info-section {
        padding: 2rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;   
        justify-content: center; 
    }

    #get-listed-modal .get-listed-panel__info-section .modal-close-btn {
        top: 1rem!important;
        right: 1rem !important;
        position: absolute;
    }

    #get-listed-modal .get-listed-panel__title {
        font-size: 1.8rem;
    }

    #get-listed-modal .get-listed-panel__form-section {
        padding: 2rem 1.5rem;
    }
}
#get-listed-modal .get-listed-panel {
    display: flex;
    width: 90%;
    max-width: 1100px;
    height: auto;
    max-height: 90vh;
    background-color: white; 
    font-family: var(--font-secondary);
}

#get-listed-modal .get-listed-panel__form-section {
    background-color: #fff;
    padding: 3rem;
    flex: 1.5;
    overflow-y: auto;
}

#get-listed-modal .get-listed-panel__info-section {
    color: #fff; 
    padding: 3rem;
    flex-basis: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

#get-listed-modal .get-listed-panel__info-section .modal-close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #111;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.2rem;
    background: none;
    border: none;
    cursor: pointer;
}

#get-listed-modal .get-listed-panel__title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 8vw, 3.5rem);
    /* font-size: 3.5rem; */
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0;
    color: #000;
}

#get-listed-modal .get-listed-panel__title span{
    font-size : 5rem;
}

/* --- Form Styles --- */
#get-listed-modal .get-listed-form fieldset {
    border: 1px solid #000;
    padding: 1rem 1rem;
    margin: 0 0 0.4rem;
    line-height: 1.2 !important;
}

 #get-listed-modal .get-listed-form  {
    font-weight: 700;
    padding-top : 0.2rem;
    padding-bottom : 0.6rem;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    /* background-color: #fff; */
    transform: translateX(-12px);
    color : #111;
} 

 #get-listed-modal .form-group__title{
    position: relative;
    top: 0.1rem;   
    font-weight: bold;
    font-size: 1.8rem;
    color: #111;
    margin-left : -2px;
    font-family: var(--font-primary);
    line-height : 1;
    letter-spacing : 0.04em;

}  

#get-listed-modal .form-group__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem 1.2rem;
    padding-top : 0.6rem;
    /* margin-left : -5px; */
    font-family: var(--font-secondary);
}

#get-listed-modal .form-control {
    display: flex;
    flex-direction: column;
}

#get-listed-modal .form-control--full {
    grid-column: 1 / -1;
}

#get-listed-modal .get-listed-form label {
    font-size: 0.7rem;
    margin-bottom: 0.2rem;
    color: #000;
    text-transform: uppercase;
    font-weight : 300;
}

#get-listed-modal .get-listed-form input,
#get-listed-modal .get-listed-form select {
    font-size: 0.7rem;
    padding: 0.45rem 0.6rem;
    border: 1px solid #bbb;
    /* border-radius: 4px;  */
    background: #fafafa;
    margin-bottom: 0.2rem;
    color: #111;
    font-family: var(--font-secondary, sans-serif);
    width: 100%;
    box-sizing: border-box;
} 


#get-listed-modal .get-listed-form input:focus, 
#get-listed-modal .get-listed-form select:focus {
    outline: none;
    border-bottom-color: #000;
}

/* --- Scrollbar --- */
/* #get-listed-modal .get-listed-panel__form-section::-webkit-scrollbar {
    width: 4px;
    height : 2px;
}
#get-listed-modal .get-listed-panel__form-section::-webkit-scrollbar-track {
    background: transparent;
}
#get-listed-modal .get-listed-panel__form-section::-webkit-scrollbar-thumb {
   background-color: #000;
    border-radius: 2px;
    background-clip: padding-box;
    border: 20px solid transparent;
    border-left-width: 0;
    border-right-width: 0;
} */
 /* Custom black thin scrollbar — half-height version */
 .get-listed-panel__form-section {
  position: relative;
  overflow-y: scroll;
  scrollbar-width: none;
}

#get-listed-modal .get-listed-panel__form-section::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}
.scrollbar {
  position: absolute;
  right: 8px;
  top: 3rem;
  bottom : 3rem;
  width: 3px;
  height: 50%;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 2px;
  pointer-events: none;
  opacity: 1;
}



/* Thank you panel */
#get-listed-modal .get-listed-thankyou {
    width: 90%;
    max-width: 1200px;
    height: 70vh;
    background: #fff;
    padding: 4rem 7.7rem 4rem 7.75rem;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-secondary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    /* background-image: url("/static/assets/static/blue.351bfb4e703e.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom left;
    opacity: 0.8; /* Adjust transparency */
    z-index: 100;
    /* pointer-events: none;   */
}
#get-listed-modal.show-thankyou .get-listed-thankyou {
    display: flex !important;
}

#get-listed-modal .get-listed-thankyou .modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-weight: 700;
  font-size:2rem;
  cursor: pointer;
  color: #111;
  letter-spacing: 0.5px;
}

#get-listed-modal .get-listed-thankyou .thankyou-title {
  font-family: var(--font-primary);
  font-size: 6.5rem;
  font-weight: 700;
  text-transform: uppercase;
  /* margin-bottom: 1rem; */
  line-height: 1;
  color: #f5a623; 
}
#get-listed-modal .get-listed-thankyou .thankyou-title span{
    font-size : 5rem;
}

#get-listed-modal .get-listed-thankyou .thankyou-title .highlight-black {
  color: #000; 
}

#get-listed-modal .get-listed-thankyou .thankyou-message {
  /* font-size: 2rem;
  margin-bottom: 2rem;
  color: #333;
  line-height: 1.6; */
    font-size: 1.8rem;
    color: #333;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

#get-listed-modal .get-listed-thankyou .thankyou-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  max-height : 5rem;
}

#get-listed-modal .get-listed-thankyou .thankyou-logo .bway-logo {
    max-width: 300px;
    margin-top: 26px;
}

#get-listed-modal.show-thankyou .get-listed-panel__info-section,
#get-listed-modal.show-thankyou .get-listed-panel__form-section {
  display: none;
}

#get-listed-modal.show-thankyou .get-listed-thankyou {
  display: flex !important;
  
}

@media (max-width: 600px) {
    .form-group__grid {
        grid-template-columns: 1fr;
    }
}

#get-listed-modal .get-listed-form {
    display: block;
}

@media(max-width: 768px) {

    #get-listed-modal .form-group__title{
        font-size : 1.25rem;
    }

    #get-listed-modal .get-listed-panel__title span {
        font-size: 3.067rem;
    }

    #get-listed-modal .get-listed-panel__info-section {
        padding-bottom: 1.5rem !important;
        min-height: 80px;
        overflow: visible !important;
    }
    #get-listed-modal .get-listed-panel__info-section .get-listed-panel__title {
        font-size: 1.15rem;
        line-height: 1.1; 
        margin-top: 4rem; 
        display: block;
        width: 100%;
        text-align: center;
    }
    #get-listed-modal .get-listed-panel__info-section .get-listed-panel__title span {
        font-size: 3rem;
        line-height : 1;
        letter-spacing: 0.04em;
    }
    #get-listed-modal .get-listed-panel__form-section {
        padding-left: 25px;
        padding-right: 5px;
    }
    #get-listed-modal .get-listed-form fieldset {
        margin-bottom: 1.5rem;
        margin-top: 1.5rem;
        padding: 1.1rem 0.8rem 0.8rem 0.8rem;
        background: #fff;
    }
    #get-listed-modal .get-listed-form label {
        font-size: 0.6rem;
        margin-bottom: 0.2rem;
        letter-spacing: 0.01em;
    }
   
    #get-listed-modal .get-listed-form select {
        font-size: 0.6rem;
        padding: 0.45rem 0.6rem;
        border: 1px solid #bbb;
        background: #fafafa;
        margin-bottom: 0.2rem;
        color: #111;
        font-family: var(--font-secondary, sans-serif);
        width: 100%;
        box-sizing: border-box;
    }

    #get-listed-modal .get-listed-thankyou{
        display: flex;
        justify-content: center;
        padding-inline : 32px;
    }

    #get-listed-modal .get-listed-thankyou .thankyou-title{
        font-size : 4rem;
    }
    #get-listed-modal .get-listed-thankyou .thankyou-title span{
        font-size : 3rem;
    }

    #get-listed-modal .get-listed-thankyou .thankyou-message{
        font-size : 1.4rem;
    }

    #get-listed-modal .get-listed-thankyou .thankyou-logo .bway-logo {
        max-width : 200px;
    }
}

@media (min-width: 600px) {
    #get-listed-modal .get-listed-panel__info-section .modal-close-btn {
        font-size: 2rem;
  }
}

/* Desktop flower decoration - bottom left responsive */
@media screen and (min-width: 769px) {
    #get-listed-modal .get-listed-panel {
        position: relative;
    }
    
    #get-listed-modal .get-listed-panel__form-section::before {
        content: '';
        position: absolute;
        width: 14.18%; /* 204.28px / 1440px * 100 */
        height: auto;
        aspect-ratio: 204.28 / 192.13;
        opacity: 0.8;
        top: 73.75%;
        left: -2.3%;
        transform: rotate(-0.77deg);
        z-index: 20;
        pointer-events: none;
        background-image: url("/static/assets/static/blue.351bfb4e703e.png");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

     
    #get-listed-modal .get-listed-thankyou::before {
        content: '';
        position: absolute;
        width: 204.28px;
        height: 192.13px;
        opacity: 0.7;
        bottom: 9px;
        left: -40px;
        transform: rotate(0.23deg);
        z-index: 0;
        pointer-events: none;
        background-image: url("/static/assets/static/blue.351bfb4e703e.png");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
}


/* Mobile flowers for get-listed modal */
@media (max-width: 768px) {
    /* Top right flower */
    #get-listed-modal .get-listed-panel__info-section {
        overflow: visible !important;
    }#get-listed-modal .flower-top-left {
        position: absolute;
        width: 45.33vw;
        max-width: 120px;
        height: auto;
        aspect-ratio: 170.24 / 160.11;
        opacity: 0.8;
        bottom: -64%;
        right: -2%;
        transform: rotate(-371deg);
        z-index: 1;
        pointer-events: none;
        background-image: url("/static/assets/static/grey.5a18d3a7340a.png");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    #get-listed-modal .flower-top-left {
        position: absolute;
        width: 170.24px;
        height: 160.11px;
        opacity: 1;
        top: -45.52px;
        left: 67.7px;
        transform: rotate(0.34deg);
        z-index: 1;
        pointer-events: none;
        background-image: url("/static/assets/static/grey.5a18d3a7340a.png");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    #get-listed-modal .get-listed-thankyou::after {
        content: '';
        position: absolute;
        width: 170.24px;
        height: 160.11px;
        opacity: 0.8;
        top: -37px;
        left: -4px;
        transform: rotate(0.34deg);
        z-index: 0;
        pointer-events: none;
        background-image: url("/static/assets/static/grey.5a18d3a7340a.png");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
}

@media (min-width: 769px) and (max-width: 900px) {
    #get-listed-modal .get-listed-thankyou {
        padding: 3rem 4rem;
        height: auto;
        min-height: 60vh;
        /* These keep it centered relative to viewport */
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    #get-listed-modal .get-listed-thankyou .thankyou-title {
        font-size: 5rem;
    }
    
    #get-listed-modal .get-listed-thankyou .thankyou-title span {
        font-size: 4rem;
    }
    
    #get-listed-modal .get-listed-thankyou .thankyou-message {
        font-size: 1.5rem;
    }
    
    #get-listed-modal .get-listed-thankyou .thankyou-logo .bway-logo {
        max-width: 250px;
    }
}

@media (min-width: 901px) {
    #get-listed-modal .get-listed-panel {
        position: relative;
    }
}