@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --accent: #3498db;
    --primaryDark: #10212c;
    --secondaryr: #2ecc71;
    --primary: #fff;
}
*::-webkit-scrollbar{
    width: 7px;
    margin: 10px;
}

html, body {
    scroll-behavior: smooth;
}

*::-webkit-scrollbar-thumb{
    background-color: #03A9F4;
    border-radius: 10px;
}

*::-webkit-scrollbar-thumb:hover{
    background-color: #006eff;
}

*::-webkit-scrollbar-track{
    background-color: #cacaca;
    border-radius: 10px;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: #a8e4fc !important;
    /* background-image: linear-gradient(rgba(0, 0, 0, 0.50), rgba(0, 0, 0, 0.50)), url(../img/banner/woman-2141808.webp);
    background-size: cover;
    background-position: center; */
}

.hidden{
    display: none;
}



.pd-top-10 {
    padding-top: 30px;
}

.homed {
    position: absolute;
    top: 5%;
    left: 5%;
}

.txt-cnt {
    text-align: center;
}

.link {
    text-decoration: none;
    color: var(--accent);
    cursor: pointer;
    font-weight: 600;
    transition: .3s;
}

.invalid-feedback {
    color: red;
}


.register-container {
    max-width: 700px;
    width: 100%;
    background-color: #fff;
    padding: 25px 30px;
    border-radius: 5px;
    box-shadow: 0 0 20px var(--accent);
}

.login-container {
    max-width: 400px;
    width: 100%;
    background-color: #fff;
    padding: 25px 30px;
    border-radius: 5px;
    box-shadow: 0 0 20px var(--accent);
}

.register-container .title,
.login-container .title {
    font-size: 25px;
    font-weight: 500;
    position: relative;
}

.register-container .title::before,
.login-container .title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 27px;
    border-radius: 5px;
    background: var(--accent)
}

.content form .user-details {
    max-height: 360px;
    flex-wrap: wrap;
    overflow-y: scroll;
    justify-content: space-between;
    margin: 20px 0 12px 0;
}

.content form .login-form {

    display: block;
    justify-content: space-between;
    margin: 20px 0 12px 0;

}

form .user-details .input-box {
    position: relative;
    margin-bottom: 15px;
    width: calc(100% / 2 - 20px);
}

form .login-form .input-box {

    margin-bottom: 15px;
    width: 100%;
}

form .input-box span.details,
form .login-form span.details form .input-box label.details,
form .login-form label.details {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

label[for]::after {
    content: " *";
    font-size: 20px;
    color: red;
}

/* Exclude the one for address */
label[for="address"]::after {
    content: "";
}


div.tooltip2 {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px;
    width: 100%;
    z-index: 99999;
    padding: 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    text-align: start;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    word-break: normal;
    word-spacing: normal;
    white-space: normal;
    line-break: auto;
    font-size: .875rem;
    word-wrap: break-word;
    background-color: #f9f9f9;
    color: #10212c;
    border: 1px solid rgb(175, 215, 248);
    border-radius: 4px;
}

.user-details .input-box input,
.login-form .input-box input,
.user-details .input-box select {
    height: 45px;
    width: 100%;
    outline: none;
    font-size: 16px;
    border-radius: 5px;
    padding-left: 15px;
    padding-right: 15px;
    border: 1px solid #ccc;
    border-bottom-width: 2px;
    transition: all 0.3s ease;
}

.user-details .input-box input:focus,
.login-form .input-box input:focus {
    border-color: var(--accent);
}

.user-details .input-box input:valid,
.login-form .input-box input:valid {
    border-color: var(--secondaryr);
}

.user-details .input-box .brd-valid {
    border-color: var(--secondaryr);
}


form .gender-details .gender-title {
    font-size: 20px;
    font-weight: 500;
}

form .category {
    display: flex;
    width: 80%;
    margin: 14px 0;
    justify-content: space-between;
}

form .category label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

form .category label .dot {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    margin-right: 10px;
    background: #d9d9d9;
    border: 5px solid transparent;
    transition: all 0.3s ease;
}

#dot-1:checked~.category label .one,
#dot-2:checked~.category label .two,
#dot-3:checked~.category label .three {
    background: var(--accent);
    border-color: #d9d9d9;
}

form input[type="radio"] {
    display: none;
}

form .button {
    height: 45px;
    margin: 35px 0
}

form .button input {
    height: 100%;
    width: 100%;
    border-radius: 5px;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--accent);
}

form .button input:hover {
    transform: scale(0.97);
    box-shadow: 0 0 10px var(--primaryDark);
    background: var(--primaryDark);
}

@media(max-width: 584px) {
    .register-container {
        max-width: 98%;
    }

    form .user-details .input-box {
        margin-bottom: 15px;
        width: 100%;
    }

    form .category {
        width: 100%;
    }

    .content form .user-details {
        max-height: 300px;
        overflow-y: scroll;
    }

    .user-details::-webkit-scrollbar {
        width: 5px;
    }
}

@media(max-width: 459px) {
    .container .content .category {
        flex-direction: column;
    }
}

@media(max-width: 1020px) {
    .homed {

        left: auto;
        right: 20px;
    }
}

@media(max-width: 966px) {
    .homed {
        left: auto;
        right: 20%;
    }
}
