.registration-section {
    position: relative;

}

.rgs-banner-img {
    width: 100%;
    height: 100%;
}

.member-rgs-form {
    width: 506px;
    height: 680px;
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%);
}

.member-rgs-form,
.account-success {
    background-color:
        rgba(0, 0, 0, 0.6);
    border-radius: 25px;
    backdrop-filter: blur(5px);
}

.member-rgs-form h2,
.account-success h2 {
    color:
        rgba(255, 255, 255, 0.89);
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 67px;
    letter-spacing: 0.8px;
    padding-top: 30px;
    text-align: center;
}

.radio-input {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.radio-input div {
    display: flex;
    gap: 20px;
    font-family: "Montserrat";
}

.registration-form {
    display: flex;
    flex-direction: column;
    padding-inline: 30px;
    gap: 40px;
    padding-top: 50px;
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-button {
    background-color:
        rgba(71, 173, 162, 1);
    border-radius: 50px;
    color: rgba(255, 255, 255, 1);
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    width: 100%;
    border: none;
    padding-block: 17px;
    margin-top: 20px;
    cursor: pointer;

}

.form-fields label {

    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    color: rgb(190 190 190);
}

.form-fields .c-input::placeholder {
    color: rgba(255, 255, 255, 0.327);
}

.form-fields .c-input,
.form-fields select,
.form-fields .radio-input {
    height:
        51px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    font-family: "Manrope";
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    border: none;
    outline: none;
    color:
        rgba(255, 255, 255, 1);
    position: relative;

    padding-left: 45px;
    padding-right: 20px;
    cursor: pointer;

}

.radio-input {
    accent-color: rgba(52, 119, 112, 1);
    cursor: pointer;
}

.account-success {
    width: 506px;
    height: 470px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
    padding-inline: 30px;
    padding-top: 60px;
}

.registration-scroll-container {
    scrollbar-width: thin;
    /* Options are 'auto', 'thin', or 'none' */
    scrollbar-color: #888 #f1f1f1;
    /* Thumb color and track color */
}

/* Scrollbar styling for WebKit browsers */
.registration-scroll-container::-webkit-scrollbar {
    width: 1px;
    /* Thin scrollbar width */
    height: 1px;
    /* Thin scrollbar width */
}

.registration-scroll-container::-webkit-scrollbar-track {
    background: transparent;
    /* Transparent track */
}

.registration-scroll-container::-webkit-scrollbar-thumb {
    background: rgb(71 173 162);
    /* Red scrollbar */
    border-radius: 1px;
    /* Rounded corners */
}

.registration-scroll-container::-webkit-scrollbar-thumb:hover {
    background: darkred;
    /* Darker red on hover */
}

/* Firefox scrollbar styles */
.registration-scroll-container {
    scrollbar-width: thin;
    /* Thin scrollbar */
    scrollbar-color: rgb(71 173 162) transparent;
    /* Red scrollbar with transparent track */
}

@media screen and (max-width:770px) {
    .registration-section {
        width: 100%;
        height: 100vh;
    }

    .rgs-banner-img {
        height: 100%;
        object-fit: cover;
    }

    .member-rgs-form {
        width: 90%;
        height: unset;
        padding-bottom: 20px;
    }
}

@media screen and (max-width:430px) {

    .member-rgs-form h2,
    .account-success h2 {
        font-size: 30px;
        line-height: 47px;
    }

    .registration-form {
        padding-inline: 16px;
        gap: 15px;
        padding-top: 16px;


    }

    .form-button {
        padding-block: 10px;
    }
}

@media screen and (max-width:322px) {

    .form-fields .c-input,
    .form-fields select,
    .form-fields .radio-input {
        padding-inline: 20px 20px;

    }

    .radio-input div {
        gap: 10px;
    }
}

.back-button::after{
    content: ''; /* Empty content */
    position: absolute;
    top: 50%;
    left: 16px;
    right: 10px; /* Adjust as needed */
    transform: translate(-50%, -50%) rotate(45deg); /* Rotate the square to create a V shape */
    
    width: 6px; /* Width of the arrow */
    height: 6px; /* Height of the arrow */
    border-left: 1px solid rgba(255, 255, 255, 1); /* Left side of the arrow */
    border-bottom: 1px solid rgba(255, 255, 255, 1);
}
#mobile-otp-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr ;
    gap: 10px;
    /* display: none; */
    padding-top: 10px;
}
#mobile-otp-section input{
    height: 
    51px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    font-family: "Manrope";
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    border: none;
    outline: none;
    color: 
    rgba(255, 255, 255, 1);
    position: relative;
    text-align: center;
    cursor: not-allowed;
    pointer-events: none;
    width: 100%;
}
#mobile-otp-section input:focus{
    border-bottom: 3px solid orange;
    outline: none;
}
#mobile-otp-section input:nth-child(1) {
    cursor: pointer;
    pointer-events: all;
}
#mobile-otp-section input::placeholder{
    text-align: center;
    color: rgba(255, 255, 255, 1);
}
.back-button{
    width: 72px;
    background-color: 
    rgba(217, 217, 217, 0.1);
    color: rgba(255, 255, 255, 1);
    font-family: "Manrope";
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    position: absolute;
    top: 20px;
    left: 10px;
    border-radius: 12px;
    text-align: center;
    padding-left: 10px;
    /* display: none; */
    cursor: pointer;
}

#register-message p, #resend-otp p {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: rgb(190 190 190);
    text-align: center;
    margin-top: 20px;
}

#register-message a, #resend-otp a {
    color: rgb(71 175 162);
    text-decoration: underline;
    
}

