:root {
    --gls-main-color: #273F89;
    --gls-secondary-color: #4986F9;
}

html,
.login-body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background-color: #c5d4b8;
}

.login-body {
    font-family: "Segoe UI", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    overflow: hidden;
}

.login-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
    border: 0;
}

.login-container {
    width: 420px;
    max-width: calc(100% - 32px);
    padding: 2.5rem;
    background: white;
    box-shadow: 0 8px 32px rgba(39, 63, 137, 0.15);
    border-radius: 16px;
    border: 1px solid rgba(39, 63, 137, 0.1);
    position: relative;
    z-index: 1;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header img {
    max-width: 180px;
    height: auto;
    margin-bottom: 0.5rem;
}

.login-header h2 {
    color: var(--gls-main-color);
    font-weight: 600;
    margin-top: 1rem;
    font-size: 24px;
}

.login-form input {
    width: 100%;
    padding: 0.875rem 1rem;
    margin-bottom: 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.login-form input:focus {
    outline: none;
    border-color: var(--gls-main-color);
    box-shadow: 0 0 0 3px rgba(39, 63, 137, 0.1);
}

.login-form button,
.login-button {
    width: 100%;
    background-color: var(--gls-secondary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 14px;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(73, 134, 249, 0.25);
    text-align: center;
    display: block;
    margin: 0 auto;
    line-height: 1.2;
}

.login-form button:hover,
.login-button:hover {
    background-color: #3a75e8;
    box-shadow: 0 4px 12px rgba(73, 134, 249, 0.35);
}

.login-error-message {
    color: #ff4c4c;
    text-align: center;
    margin-bottom: 1rem;
}

.login-footer {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 1rem;
    color: #888;
}

.top-left-header {
    position: absolute;
    top: 20px;
    left: 30px;
    text-align: left;
    align-items: baseline;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.top-left-header img {
    max-height: 45px;
    height: auto;
    width: auto;
}

.top-left-header .subtext {
    font-size: 25px;
    font-weight: bolder;
}

@media (max-width: 480px) {
    .login-container {
        padding: 1.75rem;
    }

    .top-left-header {
        top: 12px;
        left: 16px;
    }
}
