* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    background: #eef2f7;
    color: #1f2937;
}

.login-page {
    width: 100%;
    min-height: 100vh;
    display: flex;
    overflow: hidden;
}

.login-cover {
    position: relative;
    flex: 1.15;
    overflow: hidden;
}

.cover-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(135deg,
            rgba(13, 42, 86, .90),
            rgba(25, 82, 154, .65));
}

.cover-content {

    position: relative;
    z-index: 2;

    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 80px;
    color: white;
}

.cover-logo {

    width: 95px;
    height: 95px;

    margin-bottom: 28px;
}

.cover-content h1 {

    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
}

.cover-content h2 {

    font-size: 24px;
    margin-top: -10px;
    font-weight: 500;
    opacity: .95;
}

.cover-content p {

    margin-top: 28px;

    max-width: 540px;

    line-height: 1.9;
    font-size: 17px;
    opacity: .92;
}

.login-section {
    width: 520px;
    min-width: 520px;

    background: #f5f7fb;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 60px;
}

.login-card {

    width: 100%;
    max-width: 420px;

    background: #ffffff;

    border-radius: 24px;

    padding: 48px 42px;

    box-shadow:
        0 20px 60px rgba(15, 23, 42, .10),
        0 4px 12px rgba(15, 23, 42, .05);

    border: 1px solid rgba(0, 0, 0, .04);

    animation: fadeUp .6s ease;
}


.brand {

    text-align: center;
    margin-bottom: 36px;
}

.brand img {

    width: 78px;
    height: 78px;

    margin-bottom: 18px;
}

.brand h3 {

    font-size: 30px;
    font-weight: 700;

    color: #1f2937;

    margin-bottom: 8px;
}

.brand span {

    display: block;

    color: #6b7280;

    font-size: 15px;
    line-height: 1.7;
}

@keyframes fadeUp {

    from {

        opacity: 0;

        transform:
            translateY(25px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);
    }
}

.form-group {

    margin-bottom: 22px;
}

.form-group label {

    display: block;

    margin-bottom: 10px;

    font-size: 14px;
    font-weight: 600;

    color: #374151;
}

.input-box {

    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
}

.input-box>i {

    position: absolute;

    left: 18px;

    font-size: 20px;

    color: #9ca3af;

    transition: .25s;
}

.input-box input {

    width: 100%;
    height: 56px;

    padding-left: 52px;
    padding-right: 18px;

    border: 1px solid #dbe2ea;
    border-radius: 14px;

    background: #fff;

    font-size: 15px;

    transition: .25s;
}

.input-box input::placeholder {

    color: #9ca3af;
}

.input-box input:focus {

    outline: none;

    border-color: #2563eb;

    box-shadow:
        0 0 0 4px rgba(37, 99, 235, .10);
}

.input-box:focus-within>i {

    color: #2563eb;
}

.password-box input {

    padding-right: 58px;
}

.toggle-password {

    position: absolute;

    right: 16px;

    width: 34px;
    height: 34px;

    border: none;
    background: none;

    cursor: pointer;

    color: #9ca3af;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: .25s;
}

.toggle-password:hover {

    color: #2563eb;
}

.btn-login {

    width: 100%;
    height: 56px;

    margin-top: 10px;

    border: none;
    border-radius: 14px;

    background: #2563eb;

    color: #fff;

    font-size: 16px;
    font-weight: 600;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    cursor: pointer;

    transition: .25s;

    box-shadow:
        0 10px 25px rgba(37, 99, 235, .30);
}

.btn-login:hover {

    background: #1d4ed8;

    transform: translateY(-2px);

    box-shadow:
        0 16px 35px rgba(37, 99, 235, .35);
}

.btn-login:active {

    transform: scale(.98);
}

.btn-login i {

    font-size: 22px;
}

.error {

    display: block;

    margin-top: 8px;

    color: #dc2626;

    font-size: 13px;
}

.is-invalid {

    border-color: #dc2626 !important;
}

.is-invalid:focus {

    box-shadow:
        0 0 0 4px rgba(220, 38, 38, .10) !important;
}

.login-section {
    position: relative;
    overflow: hidden;
}

.login-section::before {

    content: "";

    position: absolute;

    width: 380px;
    height: 380px;

    top: -180px;
    right: -120px;

    border-radius: 50%;

    background: rgba(37, 99, 235, .08);

    filter: blur(10px);
}

.login-section::after {

    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    bottom: -120px;
    left: -80px;

    border-radius: 50%;

    background: rgba(59, 130, 246, .08);

    filter: blur(8px);
}

.login-card {

    position: relative;
    z-index: 5;
}

.cover-content {

    animation: fadeLeft .8s ease;
}

.cover-logo {

    animation: floating 5s ease-in-out infinite;
}

@keyframes fadeLeft {

    from {

        opacity: 0;

        transform:
            translateX(-30px);

    }

    to {

        opacity: 1;

        transform: none;

    }

}

@keyframes floating {

    0% {

        transform:
            translateY(0px);

    }

    50% {

        transform:
            translateY(-8px);

    }

    100% {

        transform:
            translateY(0px);

    }

}

@media (max-width:1200px) {

    .login-section {

        width: 460px;
        min-width: 460px;

    }

}

@media (max-width:992px) {

    .login-page {

        flex-direction: column;

    }

    .login-cover {

        min-height: 320px;
        flex: none;

    }

    .cover-content {

        padding: 50px;

    }

    .cover-content h1 {

        font-size: 38px;

    }

    .cover-content h2 {

        font-size: 20px;

    }

    .cover-content p {

        max-width: 100%;
        font-size: 15px;

    }

    .login-section {

        width: 100%;
        min-width: 100%;

        padding: 40px 20px;

    }

}

@media (max-width:576px) {

    .cover-content {

        padding: 35px 25px;

    }

    .cover-logo {

        width: 70px;
        height: 70px;

    }

    .cover-content h1 {

        font-size: 30px;

    }

    .cover-content h2 {

        font-size: 18px;

    }

    .cover-content p {

        margin-top: 18px;

        font-size: 14px;

        line-height: 1.7;

    }

    .login-card {

        padding: 32px 24px;

        border-radius: 20px;

    }

    .brand img {

        width: 64px;
        height: 64px;

    }

    .brand h3 {

        font-size: 24px;

    }

    .input-box input {

        height: 52px;

    }

    .btn-login {

        height: 52px;

    }

}

.btn-login {

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

}

.btn-login:disabled {

    opacity: .85;

    cursor: not-allowed;

}

.spinner-border {

    width: 18px;
    height: 18px;

}
