@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: Vazirmatn;
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(79, 140, 255, .16),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(120, 90, 255, .12),
            transparent 35%
        ),
        #f4f7fb;

    color: #152238;
}

.login-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;
}

.login-card {
    width: min(100%, 440px);

    padding: 38px;

    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .88),
            rgba(235, 242, 252, .72)
        );

    box-shadow:
        0 30px 80px rgba(45, 73, 115, .13),
        inset 0 1px 0 rgba(255, 255, 255, .95);

    backdrop-filter: blur(30px) saturate(145%);
    -webkit-backdrop-filter: blur(30px) saturate(145%);
}

.login-logo {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 22px;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #4f8cff,
            #6c63ff
        );

    color: #fff;

    font-size: 20px;
    font-weight: 900;

    box-shadow:
        0 14px 30px rgba(79, 140, 255, .25);
}

.login-heading {
    text-align: center;
    margin-bottom: 28px;
}

.login-heading > span {
    display: block;

    margin-bottom: 7px;

    color: #4f8cff;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .3px;
}

.login-heading h1 {
    margin: 0 0 9px;

    font-size: 24px;
    font-weight: 900;

    color: #152238;
}

.login-heading p {
    margin: 0;

    color: #718096;

    font-size: 13px;
    line-height: 1.8;
}

.login-field {
    margin-bottom: 17px;
}

.login-field label {
    display: block;

    margin-bottom: 8px;

    color: #26364d;

    font-size: 13px;
    font-weight: 800;
}

.login-field input {
    width: 100%;
    height: 50px;

    padding: 0 15px;

    border: 1px solid rgba(79, 140, 255, .16);
    border-radius: 15px;

    outline: none;

    background: rgba(255, 255, 255, .62);

    color: #152238;

    font-family: inherit;
    font-size: 13px;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.login-field input::placeholder {
    color: #9aa8ba;
}

.login-field input:focus {
    border-color: rgba(79, 140, 255, .45);

    background: rgba(255, 255, 255, .82);

    box-shadow:
        0 0 0 4px rgba(79, 140, 255, .08);
}

.login-button {
    width: 100%;
    height: 52px;

    margin-top: 7px;

    border: none;
    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #4f8cff,
            #6c63ff
        );

    color: #fff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 900;

    cursor: pointer;

    box-shadow:
        0 14px 28px rgba(79, 140, 255, .20);

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.login-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 18px 34px rgba(79, 140, 255, .27);
}

.login-button:active {
    transform: translateY(0);
}

.login-error {
    margin-bottom: 18px;

    padding: 12px 14px;

    border: 1px solid rgba(220, 70, 70, .18);
    border-radius: 13px;

    background: rgba(220, 70, 70, .07);

    color: #c43d3d;

    font-size: 12px;
    font-weight: 700;

    text-align: center;
}

@media (max-width: 520px) {

    .login-page {
        padding: 15px;
    }

    .login-card {
        padding: 28px 20px;
        border-radius: 23px;
    }

    .login-heading h1 {
        font-size: 21px;
    }
}