* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #17365d;
}

.login-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #dceaf5;
}

.login-card {
    position: relative;
    z-index: 2;
    width: 520px;
    min-height: 470px;
    padding: 52px 60px 42px;
    background: #ffffff;
    border-radius: 11px;
    box-shadow: 0 9px 28px rgba(43, 75, 102, 0.15);
}

.logo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 54px;
}

.logo-symbol {
    position: relative;
    width: 72px;
    height: 62px;
    margin-right: 8px;
    flex-shrink: 0;
}

.logo-bar {
    position: absolute;
    display: block;
    width: 45px;
    height: 8px;
    border-radius: 3px;
    background: #1db6c1;
    transform: rotate(45deg);
}

.bar-1 {
    top: 7px;
    left: 21px;
}

.bar-2 {
    top: 20px;
    left: 10px;
}

.bar-3 {
    top: 33px;
    left: -1px;
}

.logo-bar::after {
    content: "";
    position: absolute;
    right: -7px;
    top: 0;
    width: 18px;
    height: 8px;
    border-radius: 3px;
    background: #1db6c1;
    transform: rotate(90deg);
    transform-origin: center;
}

.logo-text {
    display: flex;
    align-items: baseline;
    justify-content: center;
    letter-spacing: -1.5px;
    white-space: nowrap;
}

.logo-text strong {
    font-size: 42px;
    line-height: 1;
    color: #173b68;
    font-weight: 700;
}

.logo-text span {
    font-size: 38px;
    line-height: 1;
    color: #173b68;
    font-weight: 300;
}

.login-heading {
    margin-bottom: 35px;
}

.login-heading h1 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: #153a67;
}

.heading-line {
    position: relative;
    width: 100%;
    height: 2px;
    background: #e6edf2;
}

.heading-line span {
    position: absolute;
    top: 0;
    left: 0;
    width: 85px;
    height: 3px;
    background: #163c69;
}

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 500;
    color: #355476;
}

.form-group input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #d6e2eb;
    border-radius: 4px;
    outline: none;
    background: #ffffff;
    color: #31506d;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    border-color: #1db6c1;
    box-shadow: 0 0 0 2px rgba(29, 182, 193, 0.1);
}

.login-button {
    width: 72%;
    height: 44px;
    margin: 8px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 5px;
    background: #1cb5bf;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.login-button:hover {
    background: #16a5ae;
}

.login-button:active {
    transform: scale(0.99);
}

.arrow {
    font-size: 18px;
    line-height: 1;
}

.forgot-password {
    margin: 22px 0 0;
    text-align: center;
    font-size: 12px;
    color: #345574;
}

.forgot-password a {
    color: #19aeb9;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.background-decoration {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 380px;
    height: 420px;
    overflow: hidden;
    pointer-events: none;
}

.decoration-line {
    position: absolute;
    display: block;
    width: 320px;
    height: 54px;
    border-radius: 30px;
    background: rgba(176, 201, 222, 0.42);
    transform: rotate(45deg);
}

.line-1 {
    right: -135px;
    bottom: 235px;
}

.line-2 {
    right: -55px;
    bottom: 105px;
}

.line-3 {
    right: 70px;
    bottom: -25px;
}

@media (max-width: 650px) {
    .login-page {
        padding: 25px;
    }

    .login-card {
        width: 100%;
        max-width: 520px;
        padding: 42px 30px 32px;
    }

    .logo {
        width: 100%;
        justify-content: center;
        margin-bottom: 45px;
    }

    .logo-symbol {
        width: 66px;
        margin-right: 6px;
        transform: scale(0.9);
        transform-origin: center;
    }

    .logo-text strong {
        font-size: 36px;
    }

    .logo-text span {
        font-size: 32px;
    }

    .login-heading h1 {
        font-size: 20px;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-group input {
        height: 44px;
        font-size: 14px;
    }

    .login-button {
        width: 80%;
        height: 44px;
        font-size: 14px;
    }

    .forgot-password {
        font-size: 12px;
    }

    .background-decoration {
        opacity: 0.7;
    }
}

.login-error {
    width: 100%;
    margin: -5px 0 20px;
    padding: 12px 14px;
    border: 1px solid #e9a6a6;
    border-radius: 5px;
    background: #fff2f2;
    color: #b52b2b;
    font-size: 14px;
    font-weight: 500;
    text-align: center;

}
.login-error--info {
    width: 100%;
    margin: -5px 0 20px;
    padding: 12px 14px;
    border: 1px solid #d5f4f6;
    border-radius: 5px;
    background: #d5f4f6 ;
    color: #16b3be ;
    font-size: 14px;
    font-weight: 500;
}