/* webfonts */

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter18pt-Black.woff2') format('woff2'),
        url('../fonts/Inter18pt-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter18pt-Bold.woff2') format('woff2'),
        url('../fonts/Inter18pt-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter18pt-ExtraBold.woff2') format('woff2'),
        url('../fonts/Inter18pt-ExtraBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter18pt-Medium.woff2') format('woff2'),
        url('../fonts/Inter18pt-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter18pt-ExtraLight.woff2') format('woff2'),
        url('../fonts/Inter18pt-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter18pt-Light.woff2') format('woff2'),
        url('../fonts/Inter18pt-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter18pt-Regular.woff2') format('woff2'),
        url('../fonts/Inter18pt-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter18pt-SemiBold.woff2') format('woff2'),
        url('../fonts/Inter18pt-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter18pt-Thin.woff2') format('woff2'),
        url('../fonts/Inter18pt-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}




/* webfonts end */

:root {
    --primary-color: #4F7CFF;
    --secondary-color: #E5E5E7;
    --white: #fff;
    --black: #000;
    --border-color: #E8E8E8;
    --text-color: #6B6B6B;
    --heading-color: #111111;
    --border-color: #ebebed;
    --gray-color: #727272;
    --light-gray: #0000001a;
}

html {
    margin: 0;
}

body {
    font-family: 'Inter';
    overflow-x: hidden;
    color: var(--text-color);
    background-color: #F7F7F8;
}

main {
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    white-space: normal;
    word-break: break-word;
    font-family: 'Inter';
    font-weight: 700;
    line-height: 1.1;
    color: var(--heading-color);
}

h1 {
    font-size: 80px;
}

h2 {
    font-size: 35px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 16px;
}


a,
p,
button,
span {
    white-space: normal;
    word-break: break-word;
}

a {
    text-decoration: none !important;
    display: inline-block;
    color: var(--secondary-color);
}

a:hover {
    color: unset;
}

a:focus-visible {
    outline: transparent;
}

.page-link:focus {
    box-shadow: none;
}

.file>input[type='file'] {

    display: none;

}

p {
    font-size: 16px;
    margin: 0;
}

header {
    position: sticky;
    top: 0;
    z-index: 999;
}

ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}


button:focus {
    box-shadow: none !important;
    outline: transparent;
}

.btn-check:focus+.btn,
.btn:focus {
    outline: 0;
    box-shadow: unset;
}

.form-control:focus,
input {
    outline: 0;
}

.formfield {
    position: relative;
    width: 100%;
}

img {
    max-width: 100%;
}

.button {
    min-height: 54px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid transparent;
    font-size: 15px;
    min-width: 150px;
    font-weight: 500;
    line-height: 1.1;
    width: fit-content;
    transition: all 0.3s ease;
    cursor: pointer;


}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--white);

    &:hover {
        opacity: 0.8;
    }

    &:disabled {
        background-color: #ddd;
        color: #6B6B6B;
    }
}

.white-btn {
    background-color: var(--white);
    border: 1px solid #0000001c;
    color: var(--heading-color);

    &:hover {
        background-color: #ddd;
    }
}

.full-btn {
    width: 100%;
    max-width: 100%;
}

.fw-1 {
    font-weight: 100;
}

.fw-2 {
    font-weight: 200;
}

.fw-3 {
    font-weight: 300;
}

.fw-4 {
    font-weight: 400;
}

.fw-5 {
    font-weight: 500;
}

.fw-6 {
    font-weight: 600;
}

.fw-7 {
    font-weight: 700;
}

.fw-8 {
    font-weight: 800;
}

.fw-9 {
    font-weight: 900;
}

.form-group {
    margin-bottom: 24px;
}

.formfield {
    position: relative;
}

label {
    font-size: 14px;
    color: var(--heading-color);
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: capitalize;
    line-height: 1;

}

.form-control {
    border: 1px solid var(--light-gray);
    font-size: 14px;
    height: 48px;
    border-radius: 8px;
    font-weight: 500;
    background-color: var(--white);
    padding: 8px 12px;
    color: var(--black);
    box-shadow: 0px 1px 2px 0px #0000000D;

    &:focus {
        border-color: var(--primary-color);
        border-width: 2px;
        box-shadow: unset;
    }
}

.form-icon {
    display: flex;
    position: absolute;
    right: 10px;
    top: 12px;
}

textarea.form-control {
    resize: none;
}

.underline {
    text-decoration: underline !important;
}

.primary-color {
    color: var(--primary-color);
}

.flex-end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

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

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgb(255, 255, 255);
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #5f2015;
}

.font-small {
    font-size: 14px;
}

.font-extra-small {
    font-size: 12px;
}

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

.container {
    padding-inline: 20px;
}



/* ==================== first screen css =========================== */

.first-screen-sec {
    min-height: 100vh;
    background-color: #F7F7F8;

}

.first-screen-wrapper {
    height: 100%;
    min-height: 100vh;
}

.first-screen-box {
    width: 100%;
    max-width: 448px;
}

.first-screen-box h1 {
    font-size: 48px;
    margin-bottom: 8px;
    line-height: 72px;
}

.first-screen-box p {
    font-size: 20px;
    line-height: 30px;
    color: #6B7280;
}

.first-screen-box>.primary-btn {
    margin-top: 56px;
}

.or-divider hr {
    width: 100%;
}

.or-divider p {
    white-space: nowrap;
    padding: 0 30px;
    font-size: 13px;
}

.last-txt {
    font-size: 14px !important;
    margin-top: 32px;
}


/* ==================== Login css =========================== */

.register-sec,
.login-sec {
    min-height: 100vh;
    padding: 0 24px;
    padding-bottom: 20px;
}

.back-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 0;

    &:hover {
        background-color: #ddd;
    }
}

.register-head,
.login-head {
    padding: 32px 0 56px;
}

.register-head h2,
.login-head h2 {
    margin: 24px 0 8px;
    font-size: 28px;
}

.register-head p,
.login-head p {
    font-size: 15px;
    color: #6B6B6B;

}

.register-txt,
.login-txt {
    margin-top: 26px;
}

.link:hover {
    color: var(--primary-color);
    text-decoration: underline !important;
}