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

:root {
    --bodybg: #dcdefe;

    --primary-color: #f78907;
    --primary-color-950: #441f06;
    --primary-color-900: #7e4210;
    --primary-color-800: #9d4e0f;
    --primary-color-700: #c66508;
    --primary-color-500: #fea111;
    --primary-color-400: #ffba38;
    --primary-color-300: #ffd671;
    --primary-color-200: #ffe8a8;
    --primary-color-100: #fff6d4;
    --primary-color-50: #fffbed;

    --grey: #d6d6d6;
    --placeholder: #969696;
    --white: #fff;
    --text: #212529;
    --slider-bg: #eff3ff;
    --accent-color: #333333;
}

* {
    margin: 0;
    padding: 0;
}

.form-control::placeholder {
    color: var(--bs-secondary-color);
    opacity: 1;
    font-weight: normal;
}

body {
    background: var(--bodybg);
    font-family: "Raleway", sans-serif;
}

.login-container {
    display: flex;
    background: var(--white);
    margin: auto;
    width: 100%;
    min-width: 320px;
}

.logo {
    padding: 10px 0px;
}

.logo img {
    max-width: 150px;
    /* Adjust based on your design */
    height: auto;
    /* Maintain aspect ratio */
}

.logo_mobile {
    width: max-content;
    height: 50px !important;
}

.logo_mobile img {
    max-width: 100px;
    /* Adjust based on your design */
    height: 50px;
    /* Maintain aspect ratio */
}

.google-login-button .google-icon svg {
    height: 20px;
    display: flex;
    margin-right: 10px;
}

.google-login-button {
    color: var(--text);
    border: 1px solid var(--grey);
    margin: 30px 0 20px;
    background-color: transparent;
}

label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 10px;
}

input {
    padding: 13px 20px !important;
    box-sizing: border-box !important;
    border: 1px solid var(--grey) !important;
    border-radius: 50px !important;
    font-family: "Raleway", sans-serif !important;
    font-weight: normal !important;
    font-size: 14px !important;
    color: var(--text) !important;
    transition: linear 0.2s !important;
}

input:focus {
    outline: none !important;
    border: 1px solid var(--primary-color) !important;
}

input::-webkit-input-placeholder {
    color: var(--placeholder) !important;
}

.position-relative {
    position: relative;
}

/* custom checkbox */
.custom-check input[type="checkbox"] {
    height: 23px;
    width: 23px;
    margin: 0;
    padding: 0;
    opacity: 1;
    appearance: none;
    border: 2px solid var(--primary-color);
    border-radius: 3px;
    background: var(--white);
    position: relative;
    margin-right: 10px;
    cursor: pointer;
}

.custom-check input[type="checkbox"]:checked {
    border: 2px solid var(--primary-color);
    background: var(--primary-color);
}

.custom-check input[type="checkbox"]:checked:before,
.custom-check input[type="checkbox"]:checked:after {
    content: "";
    position: absolute;
    height: 2px;
    background: var(--white);
}

.custom-check input[type="checkbox"]:checked:before {
    width: 8px;
    top: 11px;
    left: 2px;
    transform: rotate(44deg);
}

.custom-check input[type="checkbox"]:checked:after {
    width: 14px;
    top: 8px;
    left: 5px;
    transform: rotate(-55deg);
}

.custom-check input[type="checkbox"]:focus {
    outline: none;
}

.custom-check {
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-check label {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.link {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}

.link:hover {
    text-decoration: underline;
}

.login-cta {
    color: var(--white);
    text-decoration: none;
    border: 1px solid var(--primary-color);
    margin: 25px 0 35px;
    background: var(--primary-color);
    cursor: pointer;
}

.login-cta:hover {
    background: var(--primary-color-500) !important;
    color: var(--white) !important;
}

.login-container .onboarding {
    flex: 1;
    background: var(--slider-bg);
    display: none;
    width: 50%;
}

label .required-star {
    color: var(--primary-color);
    font-size: 18px;
    line-height: 10px;
}

.rounded-button {
    display: flex;
    width: 100%;
    text-decoration: none;
    border-radius: 50px;
    padding: 13px 20px;
    box-sizing: border-box;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    align-items: center;
    transition: linear 0.2s;
}

.rounded-button:hover {
    box-shadow: 0px 0px 4px 0px var(--grey);
}

.rounded-button.google-login-button:hover {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.form-control.is-invalid, .was-validated .form-control:invalid {
    border-color: #dc5445 !important;
    padding-right: calc(1.5em + .75rem) !important;
}

.iziToast:after {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

.toggle-password {
    position: absolute;
    top: 35px;
    right: 8px;
    border: none;
    border-radius: 0;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

input.form-control.is-invalid + .toggle-password {
    right: 20px;
}

.toggle-password:hover {
    background-color: transparent !important;
    color: inherit !important;
}

.justify-content-end {
    justify-content: flex-end !important;
}

.form-control:focus,
.form-control:focus-visible {
    box-shadow: 0 0 0 .25rem rgba(241, 133, 48, .25);
}