.magic-card {
    background-color: #fff;
    border-radius: 0px;
    z-index: 2;
    align-self: center;
    position: relative;
    box-shadow: 0 16px 40px rgba(14, 25, 60, 0.2);
    height: auto;
    max-height: none;
    border: 1px solid #e6ebf5;
}
.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    padding: 2.1rem 2.4rem;
}

.slider {
    width: 100%;
    overflow: hidden;
}
.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.slide {
    position: relative;
    min-width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.slide img {
    margin-bottom: 10px;
    width: 450px;
    max-width: 80%;
    height: auto;
}

.slider-text-container {
    width: 90%;
    display: flex;
    justify-content: center;
}

.slider-text {
    text-align: center;
    margin-top: auto;
    width: 70%;
}

.slider-text h3 {
    font-weight: 700;
    font-family: Poppins !important;
    font-size: 2.5rem;
}

.slider-text p {
    margin: 5px 0 0;
    font-family: Poppins !important;
}
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    overflow: hidden;
}

.login-panel {
    background-color: #283179;
    box-shadow: inset -4px 0px 5px 0px rgba(0, 0, 0, 0.15);
}

.container {
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 7rem;
    padding: 0 2rem;
}

.login-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

form {
    width: 80%;
    max-width: 360px;
    margin: auto;
}

.login-content img {
    height: 92px;
    max-width: 100%;
    margin-bottom: 10px;
}

.login-heading {
    margin: 8px 0 18px;
}

.login-title {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.06em;
    color: #283179;
}

.login-subtitle {
    font-size: 12px;
    letter-spacing: 0.12em;
    color: #6c778a;
    margin-top: 4px;
}

.login-content h2 {
    margin: 15px 0;
    color: #333;
    text-transform: uppercase;
    font-size: 2.9rem;
}

.login-content .input-div {
    position: relative;
    display: grid;
    grid-template-columns: 30px 1fr;
    margin: 18px 0;
    padding: 6px 12px;
    border: 1px solid #dce3f1;
    background: #ffffff;
}

.login-content .input-div.one {
    margin-top: 0;
}

.i {
    color: #9aa3b2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.i i {
    transition: 0.3s;
}

.input-div > div {
    position: relative;
    height: 44px;
}

.input-div > div > h5 {
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    color: #8b94a5;
    font-size: 14px;
    transition: 0.3s;
}

.input-div:before,
.input-div:after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 0%;
    height: 0;
    background-color: transparent;
    transition: 0s;
}

.input-div:before {
    right: 50%;
}

.input-div:after {
    left: 50%;
}

.input-div.focus:before,
.input-div.focus:after {
    width: 50%;
}

.input-div.focus > div > h5 {
    opacity: 0;
    visibility: hidden;
}

.input-div.focus > .i > i {
    color: #283179;
}

.input-div.focus {
    border-color: #283179;
    box-shadow: 0 0 0 3px rgba(40, 49, 121, 0.1);
}

.input-div > div > input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: none;
    padding: 0.35rem 0.4rem;
    font-size: 1rem;
    color: #2f3545;
    font-family: "poppins", sans-serif;
}

.input-div.pass {
    margin-bottom: 4px;
}

.input-div.pass > .div {
    padding-right: 46px;
}

.input-div.pass > .div > h5 {
    padding-right: 46px;
}

.input-div.pass > .div > input {
    padding-right: 46px;
}

.password-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    color: #6b7280;
    padding: 6px;
    font-size: 1rem;
    cursor: pointer;
    z-index: 2;
}

.password-toggle:focus {
    outline: none;
}

a {
    display: block;
    text-align: right;
    text-decoration: none;
    color: #999;
    font-size: 0.9rem;
    transition: 0.3s;
}

a:hover {
    color: #38d39f;
}

.btn {
    display: block;
    width: 80%;
    max-width: 360px;
    margin: 32px auto 10px;
    height: 46px;
    border-radius: 0px;
    outline: none;
    border: none;
    background-color: #283179;
    font-size: 1rem;
    color: #fff;
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.5s;
}
.btn:hover {
    background-color: #354ac1;
}

.powered-by {
    margin: 14px auto 0;
    max-width: 360px;
    border: 1px solid #e3e8f5;
    background: #f3f6fb;
    color: #6c778a;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 10px 12px;
}

@media screen and (max-width: 1050px) {
    .container {
        grid-gap: 5rem;
    }
}

@media screen and (max-width: 1000px) {
    form {
        width: 290px;
    }

    .login-content h2 {
        font-size: 2.4rem;
        margin: 8px 0;
    }

    .slider {
        max-width: 400px;
    }
}

@media screen and (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
    }

    .slider {
        display: none;
    }

    .login-content {
        justify-content: center;
    }
}

@media screen and (max-width: 576px) {
    .min-height-100vh {
        height: 100vh;
    }

    .col-xl-6 {
        width: 100%;
    }

    .magic-card {
        height: auto;
        width: 90%;
        margin: 18px auto;
    }

    form {
        width: 100%;
        max-width: 360px;
        margin: auto;
    }

    .input-div.pass > .div {
        padding-right: 52px;
    }

    .input-div.pass > .div > h5 {
        padding-right: 52px;
    }

    .input-div.pass > .div > input {
        padding-right: 52px;
    }

    .password-toggle {
        right: 4px;
    }
}

.form-check {
    display: flex;
    align-items: center;
}
