* {
    box-sizing: border-box;
}

p {
    margin-top: -17px;
    margin-bottom: 2rem;
}

.mt--3rem {
    margin-top: -3rem !important;
}
body {
    font-family: 'Lato', Arial, sans-serif;
    margin: 0;
    background-color: #f8f9fa;
    display: block;
    -webkit-overflow-scrolling: touch;
    /* height: auto;
    overflow-y: hidden; */
    /* Prevent vertical scroll */
        height: 100vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch; /* required for iPhone */
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.541);
    z-index: 9999;
    display: none;
}

#loader svg {
    transform: scale(0.35);
    transform-origin: center;
}
#loader svg {
    width: 300px;
    height: 300px;
}



body.overflow-hidden {
    overflow: scroll;
}

@media (max-width: 1024px) {
    /* keep all your other mobile rules */
    .sidebar-container {
        display: none;
    }
    .container-fluid {
        padding: 10px;
    }
    .verification-container {
        max-width: 100%;
        padding: 15px;
    }
   .form-container {
        padding: 10px;
        max-height: 100%;   /* FIXED */
    }
    
.logo-container {
            /* Prevent overlap */
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    text-align: left;
    margin-bottom: 20px;
    margin-top: 12px;
    margin-left: 10.2px;
}
}
@media (min-width: 1025px) {
.logo-container {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 12px;
    margin-left: -1rem;
}
}
.container-fluid {
    height: auto;
    display: flex;
    flex-direction: column;
}

	.right-image {
    margin-left: 74rem;
    margin-top: -61px;
    height: 36px;
    width: 109px;

}
/* .img-fluid {
     max-width: 15rem;
    height: auto;
    margin-right: 5rem;
} */

.sidebar-container {
    min-height: 100%;
    position: relative;
    overflow-y: auto;
    padding-left: 2rem;
    padding-right: 0rem;
    margin-left: 1rem;
    margin-right: -3rem;
}



.img-fluid {
      max-width: 15rem;
    height: 40px;
    margin-right: 1rem;
    width: 200px;
}

.sidebar {
    background-color: rgb(255, 255, 255);
    padding: 20px;
    height: 28rem;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #888;
    margin-bottom: 20px;
}

.step {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.step::before {
    content: '';
    position: absolute;
    top: 85%;
    left: 15px;
    width: 2px;
    height: 100%;
    background-color: #e0e0e0;
    z-index: 0;
}

.step:last-child::before {
    display: none;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
    background: white;
    /* White background for the circle */
    color: transparent;
    /* Make text transparent */
    margin-right: 10px;
    z-index: 1;
    border: 2px #6c757d;
    /* Dotted border */
}

.step.active {
    padding-left: 3px;
    padding-bottom: 7px;
    padding-top: 5px;
    padding-right: 1px;
    border-radius: 8px;
    /* Rounded corners for the border */
    margin-left: -2px;
    background-color: #f0f0f0;
    /* Light grey fill color inside the border */
}

.step-number::before {
    content: "\2022";
    font-size: 35px;
    color: #f5f0f0;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
    background: #e0e0e0;
    color: #6c757d;
    margin-right: 10px;
    z-index: 1;
}

.step.active .step-number {
    background: rgb(81, 88, 189);
    color: #000;
}

.step.completed .step-number {
    background: #28a745;
    color: #fff;
}

.step-text {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.step.active .step-text {
    color: rgb(0, 0, 0);
    margin-left: 0px;
}

.step.completed .step-text {
    color: #28a745;
    margin-left: 5px;
}

.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.input-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px 30px;
    max-width: 500px;
    width: 100%;
    min-height: 250px;
    /* Ensures usability on mobile */
    
    /* ⛔ REMOVE inner scroll */
    max-height: none;
    overflow-y: visible;
    -webkit-overflow-scrolling: auto;
    touch-action: auto;

    margin-bottom: -16rem; /* ⭐ Your alignment kept exactly */
}


.input-container h1 {
    font-family: 'Lexend', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 31px;
}

.verification-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px 30px;
    max-width: 500px;
    width: 100%;
    min-height: 250px;
    
    /* ⛔ REMOVE inner scroll */
    max-height: none;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: auto !important;
    touch-action: auto !important;

    margin-bottom: -16rem; /* ⭐ Your alignment preserved */
}


.verification-container h1 {
    font-family: 'Lexend', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 31px;
}

.verification-container>* {
    flex-shrink: 0;
    /* Prevents children from shrinking */
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #555;
    position: absolute;
    top: 5px;
    left: 7px;
    background: white;
    padding: 0 5px;
    z-index: 1;
}

#verification-method-label {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #555;
    position: absolute;
    top: -24px;
    left: 0px;
    background: white;
    padding: 0 5px;
    z-index: 1;
}

.form-control {
    font-family: 'Outfit', sans-serif;
    border-radius: 8px;
    height: 55px;
    font-size: 14px;
    padding: 16px 53px 0px;
    border: 1px solid #ced4da;
    width: 100%;
    margin-bottom: 26px;
    margin-top: 13px;
}

.form-control:focus {
    border-color: #ffd500;
    box-shadow: 0 0 0 0.2rem rgba(255, 213, 0, 0.25);
}

.btn-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
    /* Adds space between fields */
}

.btn-option {
    font-family: 'Outfit', sans-serif;
    flex: 1;
    border-radius: 8px;
    height: 45px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #ced4da;
    color: #555;
    background-color: #ffffff;
    cursor: pointer;
    margin: 0 5px;
}

.btn-option.active {
    border-color: #D6974F;
    background-color: #FAFAFA;
    color: #000;
}

.btn-verify {
    font-family: 'Outfit', sans-serif;
    background-color: #ffd500;
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
}


.btn-gen2 {
    font-family: 'Outfit', sans-serif;
    background-color: #9e9e9e ;
    color: #000000;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
        margin-bottom: 10px;
}

.btn-gen {
    font-family: 'Outfit', sans-serif;
    background-color: #ffd500;
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
}

.btn-verify:hover {
    background-color: #e5c000;
}

.otp-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px 30px;
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.otp-container h1 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.otp-container p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

.otp-input-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.otp-input {
    width: 45px;
    height: 45px;
    font-size: 18px;
    text-align: center;
    border: 1px solid #ced4da;
    border-radius: 8px;
}

.otp-input:focus {
    border-color: #ffd500;
    box-shadow: 0 0 0 0.2rem rgba(255, 213, 0, 0.25);
}

.resend-container {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

.resend-container a {
    color: #20a805;
    font-weight: bold;
    text-decoration: none;
}

.resend-container a:hover {
    text-decoration: underline;
}

.timer {
    font-weight: bold;
    color: #000;
}

.btn-confirm {
    background-color: #ffd500;
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
}

.btn-confirm:hover {
    background-color: #e5c000;
}
#product-description-text {
    height: auto;
    min-height: 50px;
    resize: none;
    overflow: hidden;
    white-space: pre-line;
    /* This will respect line breaks and show them properly */
}

#product-description-text {
    text-align: justify;
    overflow-y: hidden;
    resize: none;
}

#product-description-text {
    font-family: 'Lato', sans-serif;
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
    resize: vertical;
    text-align: justify;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 10px;
    font-size: 14px;
    background-color: #fff;
    white-space: normal;
    line-height: 1.6;
}

#product-description-text * {
    font-family: 'Lato', sans-serif !important;
}
.input-icon {
    position: relative;
}

.input-icon svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.form-control {
    padding-left: 30px;
    /* Adjust padding to make room for the icon */
}

.select-wrapper {
    position: relative;
}

.form-control-icon {
    position: absolute;
    left: 10px;
    top: 45%;
    transform: translateY(-50%);
}

.form-control-icon img {
    width: 13px;
    height: 18px;
    padding-top: 5px;
    margin-bottom: -9px;
}

.form-control-icon-right {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.form-control-icon-right img {
    width: 15px;
    height: 15px;
}

.button-group {
    display: flex;
    justify-content: space-between;
    gap: 10px; /* Optional spacing */
}

.button-group a,
.button-group .btn-verify {
    width: 50%; /* Make sure both buttons take equal space */
    height: 45px;
}
