.login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f4f4f9 0%, #dce8f8 100%);
}

.login-card {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.login-card h1 {
    margin: 0 0 4px;
    text-align: center;
    color: #007bff;
    font-size: 2rem;
}

.login-subtitle {
    margin: 0 0 24px;
    text-align: center;
    color: #666;
    font-size: 0.95rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-form label {
    background: transparent;
    font-weight: bold;
    font-size: 0.9rem;
    color: #494848;
}

.login-form input {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 8px;
}

.login-form input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15);
}

.login-form button {
    margin-top: 12px;
    padding: 12px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.login-form button:hover {
    background-color: #0056b3;
}

.login-error {
    background: #fdecea;
    color: #c0392b;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.login-hint {
    margin-top: 16px;
    font-size: 0.8rem;
    color: #888;
    text-align: center;
}

.user-bar-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.user-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 95%;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px 0;
    font-size: 0.9rem;
    box-sizing: border-box;
}

.user-bar-left,
.user-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-bar-left {
    min-width: 0;
}

.user-bar-right {
    flex-shrink: 0;
}

.user-bar-brand {
    font-weight: bold;
    color: #007bff;
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-right: 4px;
}

.user-bar-name {
    color: #494848;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.user-bar-role {
    background: #e9ecef;
    color: #495057;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.user-bar-logout {
    padding: 6px 12px;
    background: #fff;
    color: #007bff;
    border: 1px solid #007bff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
}

.user-bar-logout:hover {
    background: #007bff;
    color: #fff;
}

.user-bar-link {
    padding: 6px 12px;
    background: #fff;
    color: #494848;
    border: 1px solid #ccc;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
}

.user-bar-link:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.user-bar-header {
    width: 95%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0 12px;
    box-sizing: border-box;
    text-align: center;
}

.user-bar-header h1 {
    margin: 0 0 6px;
    background-color: transparent;
    color: rgb(125, 125, 125);
    font-size: 1.5rem;
    font-weight: normal;
}

.user-bar-header h3 {
    margin: 0;
    font-size: 0.95rem;
    color: #db2323;
}
