/* =========================================================
   GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f8fc;
    color: #222;
}


/* =========================================================
   LOGIN / REGISTRATION PAGE
========================================================= */

.login-page {
    min-height: calc(100vh - 60px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px 20px;

    background:
        linear-gradient(
            135deg,
            #f4f9ff 0%,
            #ffffff 50%,
            #eef6ff 100%
        );
}


/* =========================================================
   LOGIN ROW
========================================================= */

.login-row {
    width: 100%;
    min-height: 600px;
}


/* =========================================================
   REGISTRATION ROW
========================================================= */

.registration-row {
    width: 100%;
    max-width: 1100px;
    min-height: 600px;

    background: #ffffff;

    border: 1px solid #dceaf8;
}


/* =========================================================
   LEFT IMAGE SECTION
========================================================= */

.login-image-section,
.registration-image-section {
    background:
        linear-gradient(
            135deg,
            #eaf4ff 0%,
            #dceeff 50%,
            #f5faff 100%
        );

    position: relative;
}


/*
Blue decorative effect
*/

.registration-image-section::before,
.login-image-section::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    border-radius: 50%;

    background: rgba(13, 110, 253, 0.08);

    top: -70px;
    left: -70px;
}


.registration-image-section::after,
.login-image-section::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    background: rgba(13, 110, 253, 0.06);

    bottom: -60px;
    right: -60px;
}


/* =========================================================
   LOGIN IMAGE
========================================================= */

.login-image {
    max-width: 70%;
    height: auto;

    object-fit: contain;

    position: relative;
    z-index: 2;
}


/* =========================================================
   REGISTRATION IMAGE
========================================================= */

.registration-image {
    max-width: 80%;
    height: auto;

    object-fit: contain;

    position: relative;
    z-index: 2;
}


/* =========================================================
   LOGIN FORM
========================================================= */

.login-form-wrapper {
    width: 75%;
    max-width: 500px;
}


.login-form-wrapper h2 {
    font-size: 32px;
    color: #0b3d91;
}


.login-heading {
    color: #667085;
    font-size: 17px;
    margin-bottom: 35px;
}


/* =========================================================
   REGISTRATION FORM
========================================================= */

.registration-form-wrapper {
    width: 90%;
    max-width: 650px;

    margin: 0 auto;
}


.registration-form-wrapper h2 {
    color: #0b3d91;
}


.registration-form-wrapper .form-group {
    margin-bottom: 1.5rem;
}


/* =========================================================
   FORM GROUP
========================================================= */

.form-group {
    position: relative;
    margin-bottom: 2rem;
}


/* =========================================================
   INPUT
========================================================= */

.form-control-underline {
    width: 100%;

    border: none;

    border-bottom: 2.5px solid #cbd5e1;

    border-radius: 0;

    background: transparent;

    box-shadow: none;

    padding: 10px 10px 10px 35px;

    font-size: 16px;

    color: #1e293b;

    transition:
        border-color 0.3s ease,
        background-color 0.3s ease;
}


/* Placeholder */

.form-control-underline::placeholder {
    color: #94a3b8;
    font-size: 15px;
}


/* Focus */

.form-control-underline:focus {
    border-color: #0d6efd;

    outline: none;

    box-shadow: none;

    background: #f8fbff;
}


/* =========================================================
   INPUT ICON
========================================================= */

.input-icon {
    position: absolute;

    left: 8px;
    top: 50%;

    transform: translateY(-50%);

    color: #0d6efd;

    font-size: 18px;

    pointer-events: none;

    z-index: 2;
}


/* =========================================================
   BUTTON
========================================================= */

.login-form-wrapper .btn-dark,
.registration-form-wrapper .btn-dark {

    background: #0d6efd;

    border-color: #0d6efd;

    border-radius: 8px;

    padding: 12px;

    font-weight: 600;

    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.2s ease;
}


.login-form-wrapper .btn-dark:hover,
.registration-form-wrapper .btn-dark:hover {

    background: #0b5ed7;

    border-color: #0a58ca;

    transform: translateY(-1px);
}


.login-form-wrapper .btn-dark:focus,
.registration-form-wrapper .btn-dark:focus {

    background: #0b5ed7;

    border-color: #0a58ca;

    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.20);
}


/* =========================================================
   ALERT
========================================================= */

.login-alert {
    font-size: 14px;

    border-radius: 8px;

    margin-bottom: 25px;
}


.registration-form-wrapper .alert {
    border-radius: 8px;
}


/* =========================================================
   SUCCESS ALERT
========================================================= */

.alert-success {
    border-color: #b7e4c7;
}


/* =========================================================
   SOCIAL LOGIN
========================================================= */

.social-login {
    margin-top: 25px;

    color: #64748b;
}


.social-login .btn {
    width: 38px;
    height: 38px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;
}


/* =========================================================
   OTHER LOGIN LINKS
========================================================= */

.other-login-links {
    text-align: center;

    margin-top: 25px;

    font-size: 14px;
}


.other-login-links a {
    color: #0d6efd;

    font-weight: 600;

    text-decoration: none;

    transition: color 0.2s ease;
}


.other-login-links a:hover {
    color: #084298;

    text-decoration: underline;
}


.other-login-links span {
    margin: 0 10px;

    color: #94a3b8;
}


/* =========================================================
   NORMAL LINKS
========================================================= */

.registration-form-wrapper a {
    color: #0d6efd;
}


.registration-form-wrapper a:hover {
    color: #084298;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar-brand {
    min-width: 0;
}

.navbar-brand-text {
    white-space: nowrap;
}


/* Desktop */

@media (min-width: 992px) {

    .navbar-nav .nav-link {
        white-space: nowrap;
    }

    .navbar-nav .navbar-text {
        white-space: nowrap;
    }

    .logout-link {
        color: #ffdddd !important;
    }

    .logout-link:hover {
        color: #ffffff !important;
    }
}


/* Tablet */

@media (max-width: 991.98px) {

    .navbar-collapse {
        margin-top: 10px;
        padding-top: 8px;
        border-top: 1px solid rgba(255,255,255,0.25);
    }

    .navbar-nav {
        width: 100%;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link,
    .navbar-nav .navbar-text {
        display: block;
        width: 100%;
        padding: 10px 8px;
    }

    .navbar-nav .nav-link {
        border-radius: 5px;
    }

    .navbar-nav .nav-link:hover {
        background: rgba(255,255,255,0.12);
    }

    .navbar-nav .navbar-text {
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

    .logout-link {
        color: #ffdddd !important;
    }
    .navbar-image {
    width: 35px;
    height: 35px;
    object-fit: contain;
    margin-right: 8px;
}

}


/* Mobile */

@media (max-width: 575.98px) {

    .navbar {
        min-height: 56px;
    }

    .navbar-brand {
        font-size: 16px;
        max-width: calc(100% - 60px);
    }

    .navbar-brand-text {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .navbar-brand i {
        font-size: 20px;
        flex-shrink: 0;
    }

    .navbar-toggler {
        padding: 5px 8px;
        border: 1px solid rgba(255,255,255,0.5);
    }

    .navbar-collapse {
        margin-top: 8px;
    }

    .navbar-nav .nav-link,
    .navbar-nav .navbar-text {
        font-size: 14px;
    }

}

/* =========================================================
   MAIN
========================================================= */

main {
    padding: 30px;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    margin-top: 40px;

    padding: 20px;

    text-align: center;

    background: #ffffff;

    border-top: 1px solid #dbe7f3;

    color: #64748b;
}


/* =========================================================
   REGISTRATION CARD
========================================================= */

.registration-row {
    box-shadow:
        0 15px 40px rgba(13, 110, 253, 0.10);
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 991px) {

    .login-page {
        min-height: calc(100vh - 60px);

        padding: 30px 15px;
    }


    .login-form-wrapper {
        width: 90%;
    }


    .registration-row {
        width: 95%;
    }


    .registration-form-wrapper {
        width: 100%;
    }

}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 576px) {

    .login-form-wrapper {
        width: 100%;
    }


    .login-form-wrapper h2 {
        font-size: 28px;
    }


    .registration-row {
        box-shadow: none !important;

        border: none;
    }


    .registration-form-wrapper {
        width: 100%;
    }


    .registration-form-wrapper h2 {
        font-size: 27px;
    }


    .login-page {
        padding: 20px 10px;
    }

}