@font-face {
    font-family: Miso;
    src: url('../assets/fonts/miso-regular.otf');
}

@font-face {
    font-family: Samarkan;
    src: url('../assets/fonts/SAMAN___.TTF');
}

@font-face {
    font-family: IBM;
    src: url('../assets/fonts/IBMPlexMono-Regular.ttf');
}

::-webkit-scrollbar {
    width: 8px;
}


::-webkit-scrollbar-thumb {
    background-color: #fed201;
    border-radius: 50px;
    border: 1px solid white;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;

}


* {
    box-sizing: border-box;
}

body {
    font-family: 'IBM', sans-serif;
    background: #f6f5f7;
}

h1 {
    font-weight: bold;
    margin: 0;
}

p {
    font-size: 14px;
    font-weight: 100;
    line-height: 20px;
    letter-spacing: .5px;
    margin: 20px 0 30px;
}

span {
    font-size: 12px;
}


/* ALERT */
.info {
    font-family: 'IBM';
    width: 25vw;
    padding: 12px;
    position: absolute;
    top: 1vh;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: 10;
    display: none;
    /* Display need to be none */
    flex-direction: row;
    align-items: center;
    justify-content: start;
    background: #0A579B;
    border-radius: 8px;
    border: 1px solid white;
    box-shadow: 0px 0px 5px -3px #111;
}

.info__icon {
    width: 20px;
    height: 20px;
    transform: translateY(-2px);
    margin-right: 8px;
}

.info__icon path {
    fill: #fff;
}

.info__title {
    font-weight: 500;
    font-size: 14px;
    color: #fff;
}

.info__close {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-left: auto;
}

.info__close path {
    fill: #fff;
}




.main-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url('../assets/images/mandala.png');
    background-size: cover;
    background-position: center;
}

.container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .2), 0 10px 10px rgba(0, 0, 0, .2);
    position: relative;
    overflow: hidden;
    width: 60vw;
    max-width: 100%;
    min-height: 55vh;
}

.form-container form {
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 0 50px;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.form-container input {
    background: #eee;
    border: none;
    padding: 12px 15px;
    margin: 1vh 0;
    width: 100%;
    border-radius: 0.5rem;
}

.password-container {
    position: relative;
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

#toggleIcon1, #toggleIcon2{
    color: rgba(0, 0, 0, 0.8);
}

input::placeholder {
    font-family: 'IBM';
    /* Set the font size for the placeholder text */
}


.form-container select {
    background: #eee;
    border: none;
    padding: 12px 15px;
    margin: 1vh 0;
    width: 100%;
    font-family: 'IBM';
    border-radius: 0.5rem;
}

.radio-inputs {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    border-radius: 0.5rem;
    background-color: #EEE;
    box-sizing: border-box;
    box-shadow: 0 0 0px 1px rgba(0, 0, 0, 0.06);
    padding: 0.25rem;
    width: 100%;
    font-size: 14px;
    font-family: 'IBM';
    margin: 1vh 0;

}

.radio-inputs .radio {
    flex: 1 1 auto;
    text-align: center;
}

.radio-inputs .radio input {
    display: none;
}

.radio-inputs .radio .name {
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: none;
    padding: .5rem 0;
    color: rgba(51, 65, 85, 1);
    transition: all .15s ease-in-out;
}

.radio-inputs .radio input:checked+.name {
    background-color: #fff;
    font-weight: 600;
}

button {
    border-radius: 20px;
    border: 1px solid #fff;
    background: #0297de;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
    font-family: 'IBM';
    cursor: pointer;
}

button:active {
    transform: scale(.95);
}

button:focus {
    outline: none;
}

button.ghost {
    background: transparent;
    border-color: #fff;
}

.form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all .6s ease-in-out;
}

.sign-in-container {
    left: 0;
    width: 50%;
    z-index: 2;
}

.sign-up-container {
    left: 0;
    width: 50%;
    z-index: 1;
    opacity: 0;
}

.overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform .6s ease-in-out;
    z-index: 100;
}

.overlay {
    background: #0297de;
    background: linear-gradient(to right, #0297de, #0a579b) no-repeat 0 0 / cover;
    color: #fff;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateY(0);
    transition: transform .6s ease-in-out;
}

.overlay-panel {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
    height: 100%;
    width: 50%;
    text-align: center;
    transform: translateY(0);
    transition: transform .6s ease-in-out;
}

.overlay-right {
    right: 0;
    transform: translateY(0);
}

.overlay-left {
    transform: translateY(-20%);
}

/* Move signin to right */
.container.right-panel-active .sign-in-container {
    transform: translateY(100%);
}

/* Move overlay to left */
.container.right-panel-active .overlay-container {
    transform: translateX(-100%);
}

/* Bring signup over signin */
.container.right-panel-active .sign-up-container {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
}

/* Move overlay back to right */
.container.right-panel-active .overlay {
    transform: translateX(50%);
}

/* Bring back the text to center */
.container.right-panel-active .overlay-left {
    transform: translateY(0);
}

/* Same effect for right */
.container.right-panel-active .overlay-right {
    transform: translateY(20%);
}

.footer {
    margin-top: 25px;
    text-align: center;
}


.icons {
    display: flex;
    width: 30px;
    height: 30px;
    letter-spacing: 15px;
    align-items: center;
}

.loader {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 70px;
    height: 70px;
    margin: auto;
    margin-top: 20px;
    display: none;
    /* Initially hidden */
    z-index: 999;
}




/* Apply styles for screens up to 767 pixels wide (typical mobile phones) */
@media only screen and (max-width: 767px) {

    .container {

        width: 100%;
        /* Make the container full-width on smaller screens */
        border-radius: 10px;
        /* Remove border-radius on smaller screens if needed */
        box-shadow: 0px 10px 38px 5px rgba(0, 0, 0, .2), 0px 10px 10px rgba(0, 0, 0, .2);
    }

    .main-section {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        background-image: url('../assets/images/mandala.png');
        background-size: cover;
        background-position: 0vh;
        background-repeat: no-repeat;
    }


    .form-container {
        padding: 20px;
    }

    .form-container form {
        padding: 0;
    }

    p {
        font-size: 10px;
    }

    .form-container input {
        font-size: 10px;
    }

    input::placeholder {

        font-size: 10px;
    }


    .form-container select {
        font-size: 10px;
    }

    .radio-inputs {
        font-size: 10px;
    }

    button {
        font-size: 10px;

    }

    button.ghost {
        font-size: 10px;
    }



    /* ALERT */
    .info {
        width: 90%;
    }


}