* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: #f4f6f8;
    color: #3b4652;
}

.login-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

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

.logo-container img {
    max-width: 340px;
    max-height: 130px;
}

.login-card {
    width: min(400px, 100%);
    padding: 28px;
    background: #fff;
    border: 1px solid #e4e9ef;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(36, 52, 72, 0.12);
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
}

.input-wrapper {
    position: relative;
}

.login-inp {
    width: 100%;
    min-height: 42px;
    padding: 9px 42px 9px 12px;
    border: 1px solid #ccd6e0;
    border-radius: 6px;
    font-size: 15px;
}

select.login-inp {
    background: #fff;
}

select.login-inp:hover {
    background: #e7f2fa;
}

.login-inp:focus {
    outline: none;
    border-color: #2779aa;
    box-shadow: 0 0 0 3px rgba(39, 121, 170, 0.18);
}

.input-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #6b7681;
    padding: 0;
}

.input-icon svg {
    width: 22px;
    height: 22px;
}

.input-icon svg[hidden] {
    display: none;
}

button.input-icon {
    cursor: pointer;
}

.login-btn {
    width: 100%;
    min-height: 42px;
    margin-top: 6px;
    border: 0;
    border-radius: 6px;
    background: #1976a8;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.login-btn:hover {
    background: #15658f;
}

.login-btn:focus-visible {
    outline: 2px solid rgba(39, 121, 170, 0.35);
    outline-offset: 1px;
}

#message_box {
    position: fixed;
    top: 24px;
    left: 50%;
    width: min(420px, calc(100vw - 32px));
    transform: translateX(-50%);
    padding: 12px 14px;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    background: #f8d7da;
    color: #721c24;
    text-align: center;
    z-index: 10;
}

.support-message {
    margin-top: 18px;
    text-align: center;
    font-size: 13px;
    color: #6b7681;
}

.support-message p {
    margin: 0 0 4px;
}

.support-message a,
.footer a {
    color: #206fa3;
    text-decoration: none;
}

.footer {
    margin-top: 20px;
    color: #9aa4ad;
    font-size: 12px;
    text-align: center;
}
