/* Normal */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('../fonts/dm-sans/DMSans-VariableFont_opsz,wght.woff2') format('woff2');
}

/* Italic */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url('../fonts/dm-sans/DMSans-Italic-VariableFont_opsz,wght.woff2') format('woff2');
}

* {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.text-orange,
.text-warning {
    color: #F07901 !important;
}
.fa-dark-mode-icon{
    background-image: url('../img/icons/dark-mode.png');   
}
.fa-light-mode-icon{
    background-image: url('../img/icons/light-mode.png');
}
.login-container {
    max-width: 480px;
    width: 100%;
    display: inline-block;
    background: #F9F9F9;
    box-shadow: 0px 12px 50px 0px rgba(0, 0, 0, 0.10);
    padding: 35px;
}

.auth-wrap {
    height: 100vh;
}

.login-container h2 {
    font-weight: 700;
    font-size: 20px;
}

.login-container .far,
.login-container .fa-email,
.login-container .fa-password {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: auto;
    background-position: center;
}

.login-container .fa-email {
    background-image: url('../img/auth/email.svg');
}

.login-container .fa-password {
    background-image: url('../img/auth/password.svg');
}

.login-container .fa-pass-key {
    background-image: url('../img/auth/password.svg');
}

.login-container-inner img {
    max-width: 200px;
}

.btn-primary {
    border: none;
    box-shadow: none;
    background: linear-gradient(105deg, rgb(34, 56, 92) -86.33%, rgb(72, 118, 194) 204.8%);
    color: #ffffff;
    transition: .5s;
}

.btn-primary:hover {
    transition: .5s;
    background: linear-gradient(105deg, rgb(15 21 30) -86.33%, rgb(58 107 187) 204.8%)
}

.login-container .btn {
    height: 50px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    transition: .5s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container .btn-outline {
    border: 1px solid #385C98;
    color: #385C98;
}

.login-container .btn-outline:hover {
    transition: .5s;
    background: linear-gradient(105deg, rgb(15 21 30) -86.33%, rgb(58 107 187) 204.8%)
}

.login-container .form-control {
    height: 50px;
    border: 0;
    font-size: 16px;
    border-radius: 8px !important;
    padding-right: 50px;
}

.login-container .input-group-prepend {
    z-index: 99;
    right: 0;
    top: 0;
    height: 50px;
}

.login-container .input-group-prepend .input-group-text {
    height: 50px;
    background: #fff;
}

.login-container .text-primary,
.login-container .text-primary small {
    color: #385C98;
    font-size: 14px;
}

.login-terms {
    font-size: 12px;
}

.or span {
    position: relative;
    background: #F9F9F9;
    width: 50px;
    height: 20px;
    color: #4F4F4F;
    text-transform: uppercase;
    display: inline-block;
}

.or:before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: #C2C2C2;
    left: 0;
    top: 11px;
    position: absolute;
}

.login_met section {
    padding: 0 10px;
}

/**********************/
@media (min-width: 1600px) {
    .login_met section {
        padding: 0 10%;
    }
}

@media (min-width: 992px) {
    .padding-auth-image-wrap {
        padding: 65px;
    }

    .login-container {
        height: 100vh;
    }
}

@media (max-width: 991.98px) {
    .padding-auth-image-wrap {
        padding: 25px;
    }
}


body.light {
    .theme-icon-dark {
        display: none !important;
    }
    .auth-logo {
        width: 100%;
        display: flex;
        justify-content: center;

        .logo {
            &.logo-light {
                display: block;
            }

            &.logo-dark {
                display: none;
            }
        }
    }

    .Outer-image-section {
        width: 100%;
        display: flex;
        justify-content: center;

        .light-img {
            display: block;
        }

        .dark-img {
            display: none;
        }
    }
}

body.dark {
    .theme-icon-light {
        display: none !important;
    }
    .form-group {
        .form-label {
            color: #fff;
        }
    }

    .dropdown {
        &.outer-section {
            border: 1px solid #fff !important;

            .icon {
                .theme-icon-dark {
                    filter: brightness(0) invert(1) !important;
                }
            }

        }
    }

    .auth-wrap {
        background-color: #2e2e2e !important;
    }

    .main-content {
        background-color: #2e2e2e !important;
    }

    .auth-logo {
        width: 100%;
        display: flex;
        justify-content: center;

        .logo {
            &.logo-light {
                display: none;
            }

            &.logo-dark {
                display: block;
            }
        }
    }

    .Outer-image-section {
        width: 100%;
        display: flex;
        justify-content: center;

        .light-img {
            display: none;
        }

        .dark-img {
            display: block;
        }
    }

    .login-container {
        background: #1c1c1c;

        small {
            color: #F07901;
        }

        a {
            color: #F07901 !important;
        }

        p {
            color: #ffffff;
        }

        svg path {
            fill: white;
        }
    }

    h2 {
        color: #ffffff !important;
    }

    button {
        background: #F07901;

        &:hover {
            background: #E1B180;
        }
    }

}

.theme-dropdown {
    &.outer-section {
        .btn {
            height: unset;
        }

        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1050;
        padding: 8px;
        border-radius: 50px;
        background: #f03a3a00;
        border: 1px solid #000;
        height: 50px;
        width: 50px;
        display: flex;
        justify-content: center;
        align-content: center;

        .dropdown-item {
            &.active {
                background: #385C98;

                svg image {
                    filter: brightness(0) invert(1);
                }

                span {
                    color: #ffff !important;
                }
            }

            &:hover {
                background: unset;

                svg image {
                    filter: brightness(0);
                }

                span {
                    color: #000 !important;
                }
            }
        }

        .dropdown-toggle::after {
            display: none !important;
        }

        .theme-toggle {

            .icon {
                width: 36px;
                height: 36px;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 16px;
            }

            &:focus {
                box-shadow: none;
            }
        }

        .theme-menu {
            min-width: 160px;
            border-radius: 12px;
            padding: 6px;
            border: 1px solid rgba(0, 0, 0, 0.08);

            .dropdown-item {
                display: flex;
                align-items: center;
                gap: 10px;
                border-radius: 8px;
                padding: 8px 10px;
                font-size: 14px;
                cursor: pointer;

                i {
                    font-size: 14px;
                }

                &:hover {
                    background-color: rgba(0, 0, 0, 0.05);
                }
            }
        }
    }
}

@media (max-width: 768px) {
    .theme-dropdown {
        &.outer-section {
            height: 35px;
            width: 35px;
            position: absolute !important;
        }

        .icon {
            width: 30px !important;
            height: 30px !important;
        }

        .theme-icon {
            height: 20px !important;
            width: 20px !important;
        }
    }
}