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

html,
body {
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #1f2d3d;

    background:
        radial-gradient(
            circle at center,
            #ffffff 0%,
            #f4f9fe 55%,
            #e7f1fb 100%
        );
}

button,
input {
    font: inherit;
}

.login-page {
    min-height: 100vh;

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

    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 430px;

    padding: 22px 28px 24px;

    background: rgba(255, 255, 255, 0.97);

    border: 1px solid rgba(203, 216, 229, 0.8);
    border-radius: 14px;

    box-shadow:
        0 16px 40px rgba(37, 77, 115, 0.12),
        0 4px 10px rgba(37, 77, 115, 0.06);
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 10px;
}

.login-logo {
    display: block;

    width: 100%;
    max-width: 320px;
    max-height: 150px;

    object-fit: contain;
}

.login-heading {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 16px;
}

.login-heading p {
    flex-shrink: 0;

    color: #607080;

    font-size: 16px;
    font-weight: 400;
    text-align: center;
}

.heading-line {
    width: 100%;
    height: 1px;

    background: #d2dce6;
}

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 13px;
}

.form-group label {
    display: block;

    margin-bottom: 6px;

    color: #25374a;

    font-size: 14px;
    font-weight: 700;
}

.input-container {
    position: relative;

    display: flex;
    align-items: center;
}

.input-container input {
    width: 100%;
    height: 45px;

    padding: 0 46px;

    color: #25374a;

    background: #ffffff;

    border: 1px solid #c9d5e0;
    border-radius: 8px;

    font-size: 15px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.input-container input::placeholder {
    color: #9caab8;
}

.input-container input:focus {
    border-color: #1976d2;

    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.12);
}

.input-icon {
    position: absolute;
    left: 15px;

    z-index: 1;

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

    width: 18px;

    font-size: 16px;

    pointer-events: none;
}

.toggle-password {
    position: absolute;
    right: 9px;

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

    width: 34px;
    height: 34px;

    padding: 0;

    background: transparent;

    border: none;
    border-radius: 6px;

    cursor: pointer;

    transition: background-color 0.2s ease;
}

.toggle-password:hover {
    background: #edf4fb;
}

.toggle-password:focus-visible {
    outline: 2px solid #1976d2;
    outline-offset: 1px;
}

.login-button {
    width: 100%;
    height: 46px;

    margin-top: 4px;
    padding: 0 18px;

    color: #ffffff;

    background: linear-gradient(
        135deg,
        #1266c3,
        #2d7bd4
    );

    border: none;
    border-radius: 8px;

    box-shadow: 0 7px 16px rgba(18, 102, 195, 0.2);

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

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.login-button:hover {
    transform: translateY(-1px);

    box-shadow: 0 9px 18px rgba(18, 102, 195, 0.27);
}

.login-button:active {
    transform: translateY(0);
}

.login-button:disabled {
    opacity: 0.65;

    cursor: not-allowed;

    transform: none;
}

.login-error {
    min-height: 18px;

    margin-top: 12px;

    color: #d62828;

    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.login-error.visible {
    opacity: 1;
}

@media (max-width: 500px) {

    .login-page {
        padding: 14px;
    }

    .login-card {
        max-width: 390px;

        padding: 20px;
    }

    .login-logo {
        max-width: 210px;
        max-height: 95px;
    }

    .login-heading {
        margin-bottom: 14px;
    }

    .login-heading p {
        font-size: 15px;
    }

}

@media (max-height: 650px) {

    .login-page {
        align-items: flex-start;

        padding-top: 16px;
        padding-bottom: 16px;
    }

    .login-card {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .login-logo {
        max-height: 85px;
    }

    .logo-container {
        margin-bottom: 6px;
    }

    .login-heading {
        margin-bottom: 12px;
    }

    .form-group {
        margin-bottom: 10px;
    }

}