main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    width: 100%;
    padding: 24px 20px;
}

.login-container {
    background-color: #ffffff;
    padding: 22px 24px;
    border-radius: 8px;
    border: 1px solid #d9e2ec;
    box-shadow: 0 8px 24px rgba(20, 35, 55, 0.08);
    width: 100%;
    max-width: 360px;
    text-align: center;
}

.login-title {
    font-size: 22px;
    margin-bottom: 12px;
    color: #25313f;
    line-height: 1.4;
}

.error-message {
    color: #b42318;
    font-size: 14px;
    margin-bottom: 0;
    min-height: 0;
}

.error-message:not(:empty) {
    margin-bottom: 10px;
}

.success-message {
    color: #218838;
    font-size: 14px;
    margin-bottom: 0;
    min-height: 0;
}

.success-message:not(:empty) {
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 12px;
    text-align: left;
}

.form-input {
    width: 100%;
    padding: 8px 10px;
    font-size: 15px;
    line-height: 1.45;
    border: 1px solid #c8d2df;
    border-radius: 6px;
    box-sizing: border-box;
    outline: none;
    background-color: #ffffff;
    color: #25313f;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    border-color: #1469aa;
    box-shadow: 0 0 0 3px rgba(20, 105, 170, 0.14);
}

.login-button {
    width: 100%;
    padding: 9px;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
    color: #ffffff;
    background-color: #1469aa;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.login-button:hover {
    background-color: #0f558c;
    box-shadow: 0 3px 10px rgba(20, 105, 170, 0.18);
}
