* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #eef2f6;
    min-height: 100vh;

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


.login-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    width: min(430px, calc(100vw - 32px));
    background: white;
    padding: 40px 40px 38px;
    border: 1px solid rgba(18, 48, 74, 0.08);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(18, 48, 74, 0.12);
}

.message-list {
    margin-bottom: 18px;
}


.app-icon {
    width: 190px;
    height: 150px;
    object-fit: contain;
    display: block;
    margin: -6px auto 16px;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.login-header {
    color: #12304a;
    text-align: center;
    margin-top: 0;
    margin-bottom: 28px;
}

.login-header h1 {
    margin: 0;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0;
}

.login-header p {
    margin: 9px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    color: #374151;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 46px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

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

.password-toggle:focus {
    outline: none;
}

.password-toggle:focus-visible {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.password-toggle img {
    width: 18px;
    height: 18px;
    opacity: 0.72;
}

.password-toggle:hover img {
    opacity: 1;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.login-button {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 10px;
    background: #12304a;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.login-button:hover {
    background: #0d2438;
}

.login-secondary-actions {
    margin-top: 14px;
    text-align: center;
}

.login-secondary-actions a {
    color: #2563eb;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.login-secondary-actions a:hover {
    text-decoration: underline;
}


@media (max-width: 480px) {
    .login-card {
        padding: 34px 24px 28px;
    }

    .app-icon {
        width: 160px;
        height: 128px;
    }

    .login-header h1 {
        font-size: 28px;
    }
}
