.user-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 12px 20px;
    gap: 12px;
}

.user-header a, .user-header .user-name {
    color: #337ab7;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
}

.user-header a:hover {
    text-decoration: underline;
}

.user-auth-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.user-auth-modal {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    width: 340px;
    max-width: 90vw;
    position: relative;
}

.user-auth-close {
    position: absolute;
    top: 10px;
    right: 16px;
    cursor: pointer;
    font-size: 22px;
    color: #999;
}

.user-auth-tabs {
    display: flex;
    margin-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.user-auth-tab {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    cursor: pointer;
    color: #999;
    border-bottom: 2px solid transparent;
}

.user-auth-tab.active {
    color: #337ab7;
    border-bottom-color: #337ab7;
    font-weight: bold;
}

.user-auth-error {
    background: #f8d7da;
    color: #721c24;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
    font-size: 14px;
}

.user-auth-info {
    background: #d4edda;
    color: #155724;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
    font-size: 14px;
}
